summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T9033.hs
blob: cc9277fc176544e65fccb5585a10a91b084a50b0 (plain)
1
2
3
4
5
6
7
module T9030 where

bad :: Bool
bad = ()

square :: Integral i => i -> i
square x = x^2