[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / compiler / 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