summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail155.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail155.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail155.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail155.stderr b/testsuite/tests/typecheck/should_fail/tcfail155.stderr
new file mode 100644
index 0000000000..fcc1133d4d
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail155.stderr
@@ -0,0 +1,6 @@
+
+tcfail155.hs:8:6:
+ Data constructor `P' returns type `L2'
+ instead of an instance of its parent type `T a'
+ In the definition of data constructor `P'
+ In the data type declaration for `T'