summaryrefslogtreecommitdiff
path: root/tests/defer.toc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/defer.toc')
-rw-r--r--tests/defer.toc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/defer.toc b/tests/defer.toc
index 6c2a304..578668d 100644
--- a/tests/defer.toc
+++ b/tests/defer.toc
@@ -26,10 +26,10 @@ main ::= fn() {
io.puti(same(3));
a, b := thing1();
c, d := thing2();
- io.puti(a);
- io.puti(b);
- io.puti(c);
- io.puti(d);
+ e, f ::= thing1();
+ g, h ::= thing2();
+ io.puti(a); io.puti(b); io.puti(c); io.puti(d);
+ io.puti(e); io.puti(f); io.puti(g); io.puti(h);
defer io.puts("deferred from main()");
for i := 1..10 {
defer io.puts("deferred from for");