summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail112.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail112.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail112.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail112.stderr b/testsuite/tests/typecheck/should_fail/tcfail112.stderr
new file mode 100644
index 0000000000..602c1e4b69
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail112.stderr
@@ -0,0 +1,15 @@
+
+tcfail112.hs:11:6:
+ Constructor `S' does not have the required strict field(s): y
+ In the expression: S {}
+ In an equation for `s1': s1 = S {}
+
+tcfail112.hs:12:6:
+ Constructor `S' does not have the required strict field(s): y
+ In the expression: S {x = 3}
+ In an equation for `s2': s2 = S {x = 3}
+
+tcfail112.hs:14:6:
+ Constructor `T' does not have the required strict field(s)
+ In the expression: T {}
+ In an equation for `t': t = T {}