[project @ 2000-01-05 17:24:51 by simonmar]
authorsimonmar <unknown>
Wed, 5 Jan 2000 17:24:51 +0000 (17:24 +0000)
committersimonmar <unknown>
Wed, 5 Jan 2000 17:24:51 +0000 (17:24 +0000)
Add test for unterminated ``.

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

index 45f2223..389a4ca 100644 (file)
@@ -4,4 +4,6 @@ include $(TOP)/mk/should_fail.mk
 
 SRC_HC_OPTS += -noC -ddump-parsed
 
+read013_HC_OPTS += -fglasgow-exts
+
 include $(TOP)/mk/target.mk
diff --git a/ghc/tests/reader/should_fail/read013.hs b/ghc/tests/reader/should_fail/read013.hs
new file mode 100644 (file)
index 0000000..97e926d
--- /dev/null
@@ -0,0 +1,4 @@
+module Main where
+
+-- !!! unterminated ``
+a = ``s``
diff --git a/ghc/tests/reader/should_fail/read013.stderr b/ghc/tests/reader/should_fail/read013.stderr
new file mode 100644 (file)
index 0000000..774e4ca
--- /dev/null
@@ -0,0 +1,4 @@
+read013.hs:4: unterminated ``
+
+Compilation had errors
+