summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod47.hs
blob: f0f487dda225d6943f4e47a3505e46453e500216 (plain)
1
2
3
4
5
6
7
-- !!! Instance context can't satisfy class-hierarchy constraint
module M where
class Foo a
class Foo a => Bar a
instance Num a => Foo [a]
instance (Eq a, Enum a) => Bar [a]