summaryrefslogtreecommitdiff
path: root/ghc/tests/reader/should_fail/expr001.hs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/tests/reader/should_fail/expr001.hs')
-rw-r--r--ghc/tests/reader/should_fail/expr001.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc/tests/reader/should_fail/expr001.hs b/ghc/tests/reader/should_fail/expr001.hs
index 49853a74cf..03b34d9776 100644
--- 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