diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-07 22:21:02 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-07 22:21:02 -0500 |
commit | 095b24cce985bb56baf128ebcfcf2d9476d3104f (patch) | |
tree | 1c56712af660524348adec9597d0345e828c5d2d /test.toc | |
parent | 48a6b9935d37d28968ef2c31faaae2790385cfde (diff) |
more varargs
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 |