diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,9 +1,10 @@ -// #include "std/io.toc"; +#include "std/io.toc"; -f ::= fn(x :: ..) int { - x[0] +f ::= fn(x :: ..) Type { + [#sizeof(x[0])]x[1] }; main ::= fn() { - f(1,2,3); -};
\ No newline at end of file + x: f(int,u8); +}; +main();
\ No newline at end of file |