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-04-03 16:28:11 by sewardj]
[ghc-hetmet.git]
/
ghc
/
tests
/
typecheck
/
should_fail
/
tcfail034.hs
diff --git
a/ghc/tests/typecheck/should_fail/tcfail034.hs
b/ghc/tests/typecheck/should_fail/tcfail034.hs
index
82aa18b
..
0bbb75f
100644
(file)
--- a/
ghc/tests/typecheck/should_fail/tcfail034.hs
+++ b/
ghc/tests/typecheck/should_fail/tcfail034.hs
@@
-10,7
+10,7
@@
I came across a rather nasty error message when I gave a function an
incorrect type signature (the context is wrong). I can remember reading
in the source about this problem - I just thought I'd let you know anyway :-)
-}
-module ShouldSucceed where
+module ShouldFail where
test::(Num a, Eq a) => a -> Bool