[commit: ghc] master: Test #10582 (8d221bb)
git at git.haskell.org
git at git.haskell.org
Sat Jun 27 14:51:33 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/8d221bbd7af9610ded3071df53adecad72b0fc2e/ghc
>---------------------------------------------------------------
commit 8d221bbd7af9610ded3071df53adecad72b0fc2e
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date: Sat Jun 27 10:51:58 2015 -0400
Test #10582
>---------------------------------------------------------------
8d221bbd7af9610ded3071df53adecad72b0fc2e
testsuite/tests/parser/should_compile/T10582.hs | 6 ++++++
testsuite/tests/parser/should_compile/all.T | 1 +
2 files changed, 7 insertions(+)
diff --git a/testsuite/tests/parser/should_compile/T10582.hs b/testsuite/tests/parser/should_compile/T10582.hs
new file mode 100644
index 0000000..5cafd6b
--- /dev/null
+++ b/testsuite/tests/parser/should_compile/T10582.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE Arrows #-}
+
+module T10582 where
+
+(|:) :: Int -> Int -> Int
+(|:) = (+)
diff --git a/testsuite/tests/parser/should_compile/all.T b/testsuite/tests/parser/should_compile/all.T
index eec0a12..68845c1 100644
--- a/testsuite/tests/parser/should_compile/all.T
+++ b/testsuite/tests/parser/should_compile/all.T
@@ -101,3 +101,4 @@ test('T5682', normal, compile, [''])
test('T9723a', normal, compile, [''])
test('T9723b', normal, compile, [''])
test('T10188', normal, compile, [''])
+test('T10582', expect_broken(10582), compile, [''])
More information about the ghc-commits
mailing list