diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test.toc b/test.toc deleted file mode 100644 index 5a69154..0000000 --- a/test.toc +++ /dev/null @@ -1,23 +0,0 @@ -pkg "foo"; - -Foo ::= struct { - x: int; -}; - -foo ::= fn() int { - 3 -}; -#export main ::= fn() { - g ::= fn() int { 3 }; - a := new (int, 3); - b := a[1:3]; - b[0] = 7; - f: Foo; - each i, j := b { - f.x += i + j; - } - each k := 10..100 { - f.x += k; - } - del(a); -};
\ No newline at end of file |