summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail161.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail161.hs')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail161.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail161.hs b/testsuite/tests/typecheck/should_fail/tcfail161.hs
new file mode 100644
index 0000000000..6ebdfddc85
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail161.hs
@@ -0,0 +1,7 @@
+-- Kind error message
+
+module ShouldFail where
+
+f :: [Maybe]
+f x = x
+