Fix incorrect ambiguity error on identically-named data constructors
[ghc.git] / testsuite / tests / typecheck / should_fail / T9033.hs
1 module T9030 where
2
3 bad :: Bool
4 bad = ()
5
6 square :: Integral i => i -> i
7 square x = x^2