projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 1999-01-23 17:57:35 by sof]
[ghc-hetmet.git]
/
ghc
/
tests
/
typecheck
/
should_fail
/
tcfail036.hs
1
-- !!! prelude class name in an instance-tycon position
2
--
3
module ShouldFail where
4
5
data NUM = ONE | TWO
6
instance Num NUM
7
where ONE + ONE = TWO
8
instance Num NUM
9
instance Eq Num
10
--instance Text Num