From 98f7856112933688687fd4312130ea97e0b24fc0 Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 9 Mar 2001 14:44:15 +0000 Subject: [PATCH] [project @ 2001-03-09 14:44:15 by simonmar] infix declarations for unknown identifiers aren't allowed (contrary to what GHC thinks). --- ghc/tests/rename/should_fail/rnfail027.hs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ghc/tests/rename/should_fail/rnfail027.hs create mode 100644 ghc/tests/rename/should_fail/rnfail027.stderr diff --git a/ghc/tests/rename/should_fail/rnfail027.hs b/ghc/tests/rename/should_fail/rnfail027.hs new file mode 100644 index 0000000..fc6d8c8 --- /dev/null +++ b/ghc/tests/rename/should_fail/rnfail027.hs @@ -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 index 0000000..e69de29 -- 1.7.10.4