summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail099.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail099.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail099.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail099.stderr b/testsuite/tests/typecheck/should_fail/tcfail099.stderr
new file mode 100644
index 0000000000..f97c5a1161
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail099.stderr
@@ -0,0 +1,13 @@
+
+tcfail099.hs:9:20:
+ Couldn't match type `t' with `a'
+ `t' is a rigid type variable bound by
+ the inferred type of call :: DS -> t -> Int at tcfail099.hs:9:1
+ `a' is a rigid type variable bound by
+ a pattern with constructor
+ C :: forall a. (a -> Int) -> DS,
+ in an equation for `call'
+ at tcfail099.hs:9:7
+ In the first argument of `f', namely `arg'
+ In the expression: f arg
+ In an equation for `call': call (C f) arg = f arg