summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/readFail015.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_fail/readFail015.hs')
-rw-r--r--testsuite/tests/parser/should_fail/readFail015.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/readFail015.hs b/testsuite/tests/parser/should_fail/readFail015.hs
new file mode 100644
index 0000000000..6920083483
--- /dev/null
+++ b/testsuite/tests/parser/should_fail/readFail015.hs
@@ -0,0 +1,5 @@
+module Test where
+
+-- should fail; doesn't with happy 1.8.
+f = f where b = f
+ c = (b