summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc18
1 files changed, 8 insertions, 10 deletions
diff --git a/test.toc b/test.toc
index 788cdcd..94e8ff7 100644
--- a/test.toc
+++ b/test.toc
@@ -1,13 +1,11 @@
main @= fn() {
- //x := 1;
- /*foo := if x {
- 9
- } elif 7-3 {
- 5
- } elif main {
- 3
- } else {7 };*/
-
- bar := if 1 { 9 };
+ {
+ i := 0;
+ asdf := if (fn(i: i64) i64 { i - 1024 })(i) {
+ i = i * 2;
+ i
+ } else { 0 };
+ }
+ (fn(){})();
};