summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc14
1 files changed, 9 insertions, 5 deletions
diff --git a/test.toc b/test.toc
index df1a8fe..de8ee0e 100644
--- a/test.toc
+++ b/test.toc
@@ -1,8 +1,12 @@
main @= fn() {
- y := {
- x := 5;
- z := y;
- z
- };
+/*
+ f := main;
+ f();
+ main();
+*/
+ N @= {
+ foo : [N]int;
+ foo[0]
+ };
};