aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/4-statements
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conformance/4-statements')
-rw-r--r--tests/conformance/4-statements/memdebug_report.zc2
-rw-r--r--tests/conformance/4-statements/memdebug_report_line.zc2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/conformance/4-statements/memdebug_report.zc b/tests/conformance/4-statements/memdebug_report.zc
index 406662e..782a85e 100644
--- a/tests/conformance/4-statements/memdebug_report.zc
+++ b/tests/conformance/4-statements/memdebug_report.zc
@@ -1,5 +1,5 @@
// expect: leak: line 8 3 words/107/
-// spec 4.11: rt.memreport() returns the count of live recorded objects
+// spec 4.11: rt.memreport() returns the count of live recorded objects; W is the 3 words new asked for
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
memdebug on;
diff --git a/tests/conformance/4-statements/memdebug_report_line.zc b/tests/conformance/4-statements/memdebug_report_line.zc
index 52eecba..8a1b6cf 100644
--- a/tests/conformance/4-statements/memdebug_report_line.zc
+++ b/tests/conformance/4-statements/memdebug_report_line.zc
@@ -1,4 +1,4 @@
-// expect: leak: line 9 3 words/
+// expect: leak: line 9 2 words/
// spec 4.11: leak: line N W words per live recorded object (N is the allocation line)
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }