diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -2,12 +2,10 @@ io ::= nms { #include "std/io.toc"; }; -f ::= fn(a,b::=3) int { - a + b +p ::= struct(x::Type) { + y:int; }; - main ::= fn() { - x ::= f(); - io.puti(x); - io.puti(f()); +z:p(int); +for z := 1..100 {z:=12;} };
\ No newline at end of file |