From: simonmar Date: Mon, 6 Sep 1999 12:32:48 +0000 (+0000) Subject: [project @ 1999-09-06 12:32:48 by simonmar] X-Git-Tag: Approximately_9120_patches~5840 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=ec9a1a0d2c8bf713ad3aaa53bad970da9ec5a849;p=ghc-hetmet.git [project @ 1999-09-06 12:32:48 by simonmar] Add test for line numbers/string gaps. --- diff --git a/ghc/tests/reader/should_fail/read011.hs b/ghc/tests/reader/should_fail/read011.hs new file mode 100644 index 0000000..4642061 --- /dev/null +++ b/ghc/tests/reader/should_fail/read011.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 diff --git a/ghc/tests/reader/should_fail/read011.stderr b/ghc/tests/reader/should_fail/read011.stderr new file mode 100644 index 0000000..f467a3f --- /dev/null +++ b/ghc/tests/reader/should_fail/read011.stderr @@ -0,0 +1,4 @@ +read010.hs:7: parse error on input `=' + +Compilation had errors +