summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/readFail019.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_fail/readFail019.hs')
-rw-r--r--testsuite/tests/parser/should_fail/readFail019.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/readFail019.hs b/testsuite/tests/parser/should_fail/readFail019.hs
new file mode 100644
index 0000000000..c9fdd15f75
--- /dev/null
+++ b/testsuite/tests/parser/should_fail/readFail019.hs
@@ -0,0 +1,3 @@
+-- !!! cannot close an explicit layout context with a parse error
+module ShouldFail where
+f = let { x = 42 in x