Reinstate monomorphism-restriction warnings
[ghc.git] / testsuite / tests / typecheck / should_compile / T10935.hs
1 {-# OPTIONS_GHC -fwarn-monomorphism-restriction #-}
2
3 module T10935 where
4
5 f x = let y = x+1 in (y,y)