summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail180.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail180.hs')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail180.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail180.hs b/testsuite/tests/typecheck/should_fail/tcfail180.hs
new file mode 100644
index 0000000000..4c228eedda
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail180.hs
@@ -0,0 +1,10 @@
+
+-- Showed up a bug in bodySplitTyConApp
+
+module ShouldFail where
+
+p :: f b
+p = error "urk"
+
+g x = case p of
+ True -> ()