diff options
Diffstat (limited to 'testsuite/tests/arrows/should_fail/arrowfail002.hs')
-rw-r--r-- | testsuite/tests/arrows/should_fail/arrowfail002.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/arrows/should_fail/arrowfail002.hs b/testsuite/tests/arrows/should_fail/arrowfail002.hs new file mode 100644 index 0000000000..96cc930565 --- /dev/null +++ b/testsuite/tests/arrows/should_fail/arrowfail002.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE Arrows #-} + +module ShouldFail where + +g :: Int -> Int +g = proc x -> f x -< x+1 + where f = (*) |