summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod59.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod59.hs')
-rw-r--r--testsuite/tests/module/mod59.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod59.hs b/testsuite/tests/module/mod59.hs
new file mode 100644
index 0000000000..ecb026e894
--- /dev/null
+++ b/testsuite/tests/module/mod59.hs
@@ -0,0 +1,3 @@
+-- !!! Malformed pattern (unknown constructor)
+module M where
+f K = error "foo" \ No newline at end of file