diff options
Diffstat (limited to 'testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr')
-rw-r--r-- | testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr b/testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr new file mode 100644 index 0000000000..b175c0ac5e --- /dev/null +++ b/testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr @@ -0,0 +1,5 @@ + +NoDoAndIfThenElse.hs:7:13: + Unexpected semi-colons in conditional: + if True; then return (); else return () + Perhaps you meant to use -XDoAndIfThenElse? |