[project @ 1997-09-03 23:31:30 by sof]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail038.hs
1 --!!! duplicate class-method declarations
2
3 module M where
4
5 data NUM = ONE | TWO
6 instance Eq NUM where
7         a == b = True
8         a /= b = False
9         a == b = False
10         a /= b = True
11