projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1999-06-09 09:35:54 by simonpj]
[ghc-hetmet.git]
/
ghc
/
tests
/
reader
/
should_fail
/
expr001.hs
diff --git
a/ghc/tests/reader/should_fail/expr001.hs
b/ghc/tests/reader/should_fail/expr001.hs
index
49853a7
..
03b34d9
100644
(file)
--- a/
ghc/tests/reader/should_fail/expr001.hs
+++ b/
ghc/tests/reader/should_fail/expr001.hs
@@
-6,6
+6,7
@@
Date: Wed, 9 Oct 91 17:31:46 BST
OK, I've fixed that little problem by disallowing,
-}
+module Test where
f x = x + if c then 1 else 2
f x = x + 1::Int