diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -3,7 +3,10 @@ hw ::= fn() int { io.puts("Hello, world!"); 3 }; +arr ::= pkg "std/arr"; main ::= fn() { -x::=hw(); -hw(); + hw(); + x::=hw(); + x : arr.Arr(int); + arr_add(&x, 10); };
\ No newline at end of file |