[project @ 1998-03-30 08:41:32 by sof]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail073.hs
1 -- what error do you get if you redefined Prelude instances?
2
3 module ShouldFail where
4
5 f x@(a,b) y@(c,d) = x == y
6
7 instance Eq (a,b) where
8     (m,n) == (o,p) = m == o