summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T19346.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T19346.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T19346.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T19346.stderr b/testsuite/tests/typecheck/should_fail/T19346.stderr
new file mode 100644
index 0000000000..d9cb0632e9
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T19346.stderr
@@ -0,0 +1,6 @@
+
+T19346.hs:6:11: error:
+ • Couldn't match expected type ‘Int’ with actual type ‘Bool’
+ • In the first argument of ‘MkT’, namely ‘x’
+ In the expression: MkT x
+ In an equation for ‘f’: f x = MkT x