[project @ 2001-04-03 16:28:11 by sewardj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail023.hs
1 module ShouldFail where
2
3 -- !!! Duplicate instances
4
5 data B = C
6
7 class A a where
8  op :: a -> a
9
10 instance A B where
11  op C = True
12
13 instance A B where
14  op C = True
15
16