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