summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/readFail002.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_fail/readFail002.hs')
-rw-r--r--testsuite/tests/parser/should_fail/readFail002.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/readFail002.hs b/testsuite/tests/parser/should_fail/readFail002.hs
new file mode 100644
index 0000000000..869cb86a33
--- /dev/null
+++ b/testsuite/tests/parser/should_fail/readFail002.hs
@@ -0,0 +1,6 @@
+module ShouldFail where
+
+-- !!! newlines in strings aren't allowed
+
+f = "
+"