From f93c225a0f8343dc17a5d569cfc0b4a35eba0b60 Mon Sep 17 00:00:00 2001 From: simonm Date: Fri, 27 Feb 1998 10:33:25 +0000 Subject: [PATCH] [project @ 1998-02-27 10:33:24 by simonm] Test for records defined with an infix constructor. --- ghc/tests/reader/should_compile/read010.hs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ghc/tests/reader/should_compile/read010.hs create mode 100644 ghc/tests/reader/should_compile/read010.stderr diff --git a/ghc/tests/reader/should_compile/read010.hs b/ghc/tests/reader/should_compile/read010.hs new file mode 100644 index 0000000..097650c --- /dev/null +++ b/ghc/tests/reader/should_compile/read010.hs @@ -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 index 0000000..e69de29 -- 1.7.10.4