summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser
diff options
context:
space:
mode:
authorRichard Eisenberg <eir@cis.upenn.edu>2015-06-27 10:51:58 -0400
committerRichard Eisenberg <eir@cis.upenn.edu>2015-06-27 10:51:58 -0400
commit8d221bbd7af9610ded3071df53adecad72b0fc2e (patch)
tree87b2d44b53880ba1c3c554e3b63aaf1ad348fadd /testsuite/tests/parser
parent0e1e7987bdcec0e9be309cbe97fa1c92551997f7 (diff)
downloadhaskell-8d221bbd7af9610ded3071df53adecad72b0fc2e.tar.gz
Test #10582
Diffstat (limited to 'testsuite/tests/parser')
-rw-r--r--testsuite/tests/parser/should_compile/T10582.hs6
-rw-r--r--testsuite/tests/parser/should_compile/all.T1
2 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/T10582.hs b/testsuite/tests/parser/should_compile/T10582.hs
new file mode 100644
index 0000000000..5cafd6bc6d
--- /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 eec0a12b69..68845c1cc6 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, [''])