summaryrefslogtreecommitdiff
path: root/tests/varargs.toc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/varargs.toc')
-rw-r--r--tests/varargs.toc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/varargs.toc b/tests/varargs.toc
index 0885da4..ff315c6 100644
--- a/tests/varargs.toc
+++ b/tests/varargs.toc
@@ -9,7 +9,7 @@ sum ::= fn(x: ..) int {
for a, i := x {
total += a + i - i + 1;
}
- total - x.len
+ return total - x.len;
};
sumc ::= fn(x:: ..) int {
@@ -17,7 +17,7 @@ sumc ::= fn(x:: ..) int {
for a, i := x {
total += a + i - i + 1;
}
- total - x.len
+ return total - x.len;
};
do_printing ::= fn(x::..) {