diff options
Diffstat (limited to 'testsuite/tests/parser/should_fail/NoBlockArgumentsFail.hs')
-rw-r--r-- | testsuite/tests/parser/should_fail/NoBlockArgumentsFail.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.hs b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.hs new file mode 100644 index 0000000000..6c791b0f95 --- /dev/null +++ b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.hs @@ -0,0 +1,7 @@ +module NoBlockArgumentsFail where + +import Control.Monad + +foo :: IO () +foo = when True do + return () |