projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2001-08-22 12:24:41 by simonmar]
[ghc-hetmet.git]
/
ghc
/
tests
/
typecheck
/
should_fail
/
tcfail037.hs
diff --git
a/ghc/tests/typecheck/should_fail/tcfail037.hs
b/ghc/tests/typecheck/should_fail/tcfail037.hs
deleted file mode 100644
(file)
index
d2110c7
..0000000
--- a/
ghc/tests/typecheck/should_fail/tcfail037.hs
+++ /dev/null
@@
-1,11
+0,0 @@
--- !!! PreludeCore entities cannot be redefined at the top-level
---
-module ShouldFail where
-
-data NUM = ONE | TWO
-
-f a b = a + b
-f :: NUM -> NUM -> NUM
-
-ONE + ONE = TWO
-