[project @ 2000-03-06 12:02:37 by simonmar]
authorsimonmar <unknown>
Mon, 6 Mar 2000 12:02:37 +0000 (12:02 +0000)
committersimonmar <unknown>
Mon, 6 Mar 2000 12:02:37 +0000 (12:02 +0000)
Add extra-closing-brace test.

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

diff --git a/ghc/tests/reader/should_fail/read014.hs b/ghc/tests/reader/should_fail/read014.hs
new file mode 100644 (file)
index 0000000..23ef795
--- /dev/null
@@ -0,0 +1,3 @@
+main = f
+  where
+     f = f }
diff --git a/ghc/tests/reader/should_fail/read014.stderr b/ghc/tests/reader/should_fail/read014.stderr
new file mode 100644 (file)
index 0000000..dd89e03
--- /dev/null
@@ -0,0 +1,4 @@
+read014.hs:3: parse error on input `}'
+
+Compilation had errors
+