diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -1,17 +1,3 @@ -N @= 3; -foo_func @= fn(x: int) [N][N]int { - foo : [3]int; - foo[0] = x*1; - foo[1] = x*2; - foo[2] = x*3; - asdf : [3][3]int; - asdf[0] = foo; - asdf[1] = foo; - asdf[2] = foo; - asdf -}; main @= fn() { - asdf : [3][3]int = foo_func(5); - foo := fn (x, y, z,w : f32, A:f64) {}; - foo(3,4,5,3,5); + x := 7; }; |