From: simonm Date: Fri, 27 Feb 1998 10:33:25 +0000 (+0000) Subject: [project @ 1998-02-27 10:33:24 by simonm] X-Git-Tag: Approx_2487_patches~903 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f93c225a0f8343dc17a5d569cfc0b4a35eba0b60;p=ghc-hetmet.git [project @ 1998-02-27 10:33:24 by simonm] Test for records defined with an infix constructor. --- 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