Add HsSyn prettyprinter tests
[ghc.git] / testsuite / tests / typecheck / should_fail / tcfail108.hs
1 -- The instance decl is illegal without UndecidableInstances
2
3 module ShouldFail where
4
5 data Rec f = In (f (Rec f))
6
7 instance Eq (f (Rec f)) => Eq (Rec f) where
8 (In x) == (In y) = x == y
9