summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/drvfail002.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_fail/drvfail002.stderr')
-rw-r--r--testsuite/tests/deriving/should_fail/drvfail002.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/drvfail002.stderr b/testsuite/tests/deriving/should_fail/drvfail002.stderr
new file mode 100644
index 0000000000..c174c69055
--- /dev/null
+++ b/testsuite/tests/deriving/should_fail/drvfail002.stderr
@@ -0,0 +1,6 @@
+
+drvfail002.hs:16:10:
+ Ambiguous constraint `X T c'
+ 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 `Show T'