From: simonmar Date: Thu, 15 Mar 2001 10:00:32 +0000 (+0000) Subject: [project @ 2001-03-15 10:00:32 by simonmar] X-Git-Tag: Approximately_9120_patches~2402 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8fc56424e66224d993fcc2dcc2931661308e5dff;p=ghc-hetmet.git [project @ 2001-03-15 10:00:32 by simonmar] newlines in strings aren't allowed. --- diff --git a/ghc/tests/reader/should_fail/read002.hs b/ghc/tests/reader/should_fail/read002.hs new file mode 100644 index 0000000..869cb86 --- /dev/null +++ b/ghc/tests/reader/should_fail/read002.hs @@ -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 index 0000000..c7c56e7 --- /dev/null +++ b/ghc/tests/reader/should_fail/read002.stderr @@ -0,0 +1 @@ +read002.hs:5: error in character literal