summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/readFail012.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_fail/readFail012.hs')
-rw-r--r--testsuite/tests/parser/should_fail/readFail012.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/readFail012.hs b/testsuite/tests/parser/should_fail/readFail012.hs
new file mode 100644
index 0000000000..4a780885f7
--- /dev/null
+++ b/testsuite/tests/parser/should_fail/readFail012.hs
@@ -0,0 +1,9 @@
+-- !!! test parse errors due to tokens inserted by layout
+
+-- used to report "Parse error on input `'" in 4.04pl0.
+
+main = let
+ f = (a,
+ g = 1
+ in f
+