summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc16
1 files changed, 1 insertions, 15 deletions
diff --git a/test.toc b/test.toc
index a89c6fb..534c5a9 100644
--- a/test.toc
+++ b/test.toc
@@ -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;
};