summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail098.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail098.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail098.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail098.stderr b/testsuite/tests/typecheck/should_fail/tcfail098.stderr
new file mode 100644
index 0000000000..bf2ccabc30
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail098.stderr
@@ -0,0 +1,6 @@
+
+tcfail098.hs:8:10:
+ Ambiguous constraint `Bar a'
+ At least one of the forall'd type variables mentioned by the constraint
+ must be reachable from the type after the '=>'
+ In the instance declaration for `Bar Bool'