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

class A a where
 op1 :: a -> a

instance A (a,(b,c)) where
 op1 a = a