summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/readFail011.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_fail/readFail011.hs')
-rw-r--r--testsuite/tests/parser/should_fail/readFail011.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/readFail011.hs b/testsuite/tests/parser/should_fail/readFail011.hs
new file mode 100644
index 0000000000..4642061fcc
--- /dev/null
+++ b/testsuite/tests/parser/should_fail/readFail011.hs
@@ -0,0 +1,7 @@
+-- !!! Test line numbers in presence of string gaps.
+
+main = print "a\
+ \b\
+ \c"
+
+wibble = = -- this is a parse error on line 7