[project @ 2001-03-15 10:00:32 by simonmar]
authorsimonmar <unknown>
Thu, 15 Mar 2001 10:00:32 +0000 (10:00 +0000)
committersimonmar <unknown>
Thu, 15 Mar 2001 10:00:32 +0000 (10:00 +0000)
newlines in strings aren't allowed.

ghc/tests/reader/should_fail/read002.hs [new file with mode: 0644]
ghc/tests/reader/should_fail/read002.stderr [new file with mode: 0644]

diff --git a/ghc/tests/reader/should_fail/read002.hs b/ghc/tests/reader/should_fail/read002.hs
new file mode 100644 (file)
index 0000000..869cb86
--- /dev/null
@@ -0,0 +1,6 @@
+module ShouldFail where
+
+-- !!! newlines in strings aren't allowed
+
+f = "
+"
diff --git a/ghc/tests/reader/should_fail/read002.stderr b/ghc/tests/reader/should_fail/read002.stderr
new file mode 100644 (file)
index 0000000..c7c56e7
--- /dev/null
@@ -0,0 +1 @@
+read002.hs:5: error in character literal