summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-03-07 22:21:02 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-03-07 22:21:02 -0500
commit095b24cce985bb56baf128ebcfcf2d9476d3104f (patch)
tree1c56712af660524348adec9597d0345e828c5d2d /test.toc
parent48a6b9935d37d28968ef2c31faaae2790385cfde (diff)
more varargs
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc6
1 files changed, 1 insertions, 5 deletions
diff --git a/test.toc b/test.toc
index 441cc5f..c750510 100644
--- a/test.toc
+++ b/test.toc
@@ -1,13 +1,9 @@
#include "std/io.toc", io;
foo ::= fn(x: ..) {
-
};
main ::= fn() {
- a : [3]int;
- a[0] = 1;
- a[1] = 1;
- a[2] = 1;
+ io.puti(foo(3,4,5));
};
main(); \ No newline at end of file