summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail159.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail159.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail159.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail159.stderr b/testsuite/tests/typecheck/should_fail/tcfail159.stderr
new file mode 100644
index 0000000000..b389ef1e96
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail159.stderr
@@ -0,0 +1,8 @@
+
+tcfail159.hs:9:11:
+ Kind incompatibility when matching types:
+ t0 :: *
+ (# Int, Int #) :: (#)
+ In the pattern: ~(# p, q #)
+ In a case alternative: ~(# p, q #) -> p
+ In the expression: case h x of { ~(# p, q #) -> p }