[project @ 1998-02-27 10:33:24 by simonm]
authorsimonm <unknown>
Fri, 27 Feb 1998 10:33:25 +0000 (10:33 +0000)
committersimonm <unknown>
Fri, 27 Feb 1998 10:33:25 +0000 (10:33 +0000)
Test for records defined with an infix constructor.

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

diff --git a/ghc/tests/reader/should_compile/read010.hs b/ghc/tests/reader/should_compile/read010.hs
new file mode 100644 (file)
index 0000000..097650c
--- /dev/null
@@ -0,0 +1,5 @@
+module ShouldSucceed where
+
+--!!! Infix record constructor.
+
+data Rec = (:<-:) { a :: Int, b :: Float }
diff --git a/ghc/tests/reader/should_compile/read010.stderr b/ghc/tests/reader/should_compile/read010.stderr
new file mode 100644 (file)
index 0000000..e69de29