summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T10935.hs
blob: 9817ec8d5494f9cea34ab793fe9e475aeeec6d50 (plain)
1
2
3
4
5
{-# OPTIONS_GHC -fwarn-monomorphism-restriction #-}

module T10935 where

f x = let y = x+1 in (y,y)