projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1997-07-31 00:05:10 by sof]
[ghc-hetmet.git]
/
ghc
/
compiler
/
tests
/
typecheck
/
should_fail
/
tcfail039.hs
diff --git
a/ghc/compiler/tests/typecheck/should_fail/tcfail039.hs
b/ghc/compiler/tests/typecheck/should_fail/tcfail039.hs
deleted file mode 100644
(file)
index
f0df10c
..0000000
--- a/
ghc/compiler/tests/typecheck/should_fail/tcfail039.hs
+++ /dev/null
@@
-1,12
+0,0 @@
---!!! bogus re-use of prelude class-method name (==)
---
-module M where
-
-data NUM = ONE | TWO
-class EQ a where
- (==) :: a -> a -> Bool
-
-instance EQ NUM
--- a /= b = False
--- a == b = True
--- a /= b = False