[project @ 1998-02-12 14:57:41 by simonm]
authorsimonm <unknown>
Thu, 12 Feb 1998 14:57:41 +0000 (14:57 +0000)
committersimonm <unknown>
Thu, 12 Feb 1998 14:57:41 +0000 (14:57 +0000)
combining undeclared infix operators (from a bug in Hugs).

ghc/tests/reader/should_compile/read009.hs [new file with mode: 0644]

diff --git a/ghc/tests/reader/should_compile/read009.hs b/ghc/tests/reader/should_compile/read009.hs
new file mode 100644 (file)
index 0000000..c35b81a
--- /dev/null
@@ -0,0 +1,8 @@
+module ShouldSucceed where
+
+--!!! combining undeclared infix operators
+
+-- should default to 'infixl 9'
+
+test = let f x y = x+y in 1 `f` 2 `f` 3
+