summaryrefslogtreecommitdiff
path: root/tests/misc.toc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc.toc')
-rw-r--r--tests/misc.toc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc.toc b/tests/misc.toc
index 3673a07..04932e8 100644
--- a/tests/misc.toc
+++ b/tests/misc.toc
@@ -3,7 +3,7 @@
main ::= fn() {
x ::= 3;
#if x > 2 {
- io.puts("Hello!");
+ io.puts("Hello!");
} else {
foo("yes");
}
@@ -17,7 +17,7 @@ main ::= fn() {
for x := a {
total += x;
}
- total
+ return total;
};
mk_arr ::= fn(x:int, y:int, z:int) a:[3]int {