summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail078.hs
blob: 1054f6d3d60b24d5295279c6027cc871f72493cc (plain)
1
2
3
4
5
6
module ShouldFail where

-- !!! Using a type constructor as a class name

f :: Integer i => i 
f =               0