summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc12
1 files changed, 4 insertions, 8 deletions
diff --git a/test.toc b/test.toc
index 720c87e..a74d6fc 100644
--- a/test.toc
+++ b/test.toc
@@ -1,12 +1,8 @@
-x := 3;
-
main @= fn() {
- y := 5;
- z @= 10;
- foo @= fn() {
- bar := y;
- asdf := z;
- gfdij := x;
+ x := 1;
+ if x {
+ foo := 5;
};
+ foo := if 1 { 5 };
};