summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail157.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail157.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail157.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail157.stderr b/testsuite/tests/typecheck/should_fail/tcfail157.stderr
new file mode 100644
index 0000000000..c68f957652
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail157.stderr
@@ -0,0 +1,12 @@
+
+tcfail157.hs:27:10:
+ Variable occurs more often in a constraint than in the instance head
+ in the constraint: E m a b
+ (Use -XUndecidableInstances to permit this)
+ In the instance declaration for `Foo m (a -> ())'
+
+tcfail157.hs:27:10:
+ Variable occurs more often in a constraint than in the instance head
+ in the constraint: Foo m b
+ (Use -XUndecidableInstances to permit this)
+ In the instance declaration for `Foo m (a -> ())'