diff options
author | Richard Eisenberg <eir@cis.upenn.edu> | 2015-06-27 10:51:58 -0400 |
---|---|---|
committer | Richard Eisenberg <eir@cis.upenn.edu> | 2015-06-27 10:51:58 -0400 |
commit | 8d221bbd7af9610ded3071df53adecad72b0fc2e (patch) | |
tree | 87b2d44b53880ba1c3c554e3b63aaf1ad348fadd /testsuite/tests/parser | |
parent | 0e1e7987bdcec0e9be309cbe97fa1c92551997f7 (diff) | |
download | haskell-8d221bbd7af9610ded3071df53adecad72b0fc2e.tar.gz |
Test #10582
Diffstat (limited to 'testsuite/tests/parser')
-rw-r--r-- | testsuite/tests/parser/should_compile/T10582.hs | 6 | ||||
-rw-r--r-- | testsuite/tests/parser/should_compile/all.T | 1 |
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, ['']) |