summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail118.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail118.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail118.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail118.stderr b/testsuite/tests/typecheck/should_fail/tcfail118.stderr
new file mode 100644
index 0000000000..206bec47be
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail118.stderr
@@ -0,0 +1,8 @@
+
+tcfail118.hs:10:29:
+ Overlapping instances for Eq Foo
+ arising from the 'deriving' clause of a data type declaration
+ Matching instances:
+ instance Eq Foo -- Defined at tcfail118.hs:11:25-26
+ instance Eq Foo -- Defined at tcfail118.hs:13:10-15
+ When deriving the instance for (Eq Bar)