[project @ 2001-03-09 14:44:15 by simonmar]
authorsimonmar <unknown>
Fri, 9 Mar 2001 14:44:15 +0000 (14:44 +0000)
committersimonmar <unknown>
Fri, 9 Mar 2001 14:44:15 +0000 (14:44 +0000)
infix declarations for unknown identifiers aren't allowed (contrary to
what GHC thinks).

ghc/tests/rename/should_fail/rnfail027.hs [new file with mode: 0644]
ghc/tests/rename/should_fail/rnfail027.stderr [new file with mode: 0644]

diff --git a/ghc/tests/rename/should_fail/rnfail027.hs b/ghc/tests/rename/should_fail/rnfail027.hs
new file mode 100644 (file)
index 0000000..fc6d8c8
--- /dev/null
@@ -0,0 +1,5 @@
+-- !!! infix declarations for unknown identifiers aren't allowed
+
+module ShouldFail where
+
+infixl 9 `wibble`
diff --git a/ghc/tests/rename/should_fail/rnfail027.stderr b/ghc/tests/rename/should_fail/rnfail027.stderr
new file mode 100644 (file)
index 0000000..e69de29