summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/readFail022.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_fail/readFail022.hs')
-rw-r--r--testsuite/tests/parser/should_fail/readFail022.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/readFail022.hs b/testsuite/tests/parser/should_fail/readFail022.hs
new file mode 100644
index 0000000000..8d63b44b40
--- /dev/null
+++ b/testsuite/tests/parser/should_fail/readFail022.hs
@@ -0,0 +1,4 @@
+module ShouldFail where
+
+-- !!! a parenthesised lhs must have at least one parameter
+(a # b) = a