summaryrefslogtreecommitdiff
path: root/ghc/compiler/tests/typecheck/should_fail/tcfail047.hs
blob: 12770a33eb2fbc8de61354bb27bb672b5e20bb1d (plain)
1
2
3
4
5
6

class A a where
 op1 :: a -> a

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