summaryrefslogtreecommitdiff
path: root/ghc/compiler/tests/simplCore/simpl002.hs
blob: 206e8612d1c138a93890988e57e2b4f095ec6f23 (plain)
1
2
3
4
5
6
7
8
9
--!!! class/instance mumble that failed Lint at one time
--
class Foo a where
   op :: Int -> a -> Bool

data Wibble a b c = MkWibble a b c

instance (Foo a, Foo b, Foo c) => Foo (Wibble a b c) where
    op x y = error "xxx"