summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail083.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail083.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail083.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail083.stderr b/testsuite/tests/typecheck/should_fail/tcfail083.stderr
new file mode 100644
index 0000000000..77794ffaa6
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail083.stderr
@@ -0,0 +1,7 @@
+
+tcfail083.hs:8:39:
+ Constructor `Bar' does not have field `baz'
+ In the pattern: Bar {flag = f, baz = b}
+ In the pattern: State {bar = Bar {flag = f, baz = b}}
+ In an equation for `display':
+ display (State {bar = Bar {flag = f, baz = b}}) = print (f, b)