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