summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail031.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail031.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail031.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail031.stderr b/testsuite/tests/typecheck/should_fail/tcfail031.stderr
new file mode 100644
index 0000000000..f7fc14bb1f
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail031.stderr
@@ -0,0 +1,6 @@
+
+tcfail031.hs:3:10:
+ Couldn't match expected type `Bool' with actual type `Char'
+ In the expression: 'a'
+ In the expression: if 'a' then 1 else 2
+ In an equation for `f': f x = if 'a' then 1 else 2