summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc11
1 files changed, 7 insertions, 4 deletions
diff --git a/test.toc b/test.toc
index a74d6fc..31d337a 100644
--- a/test.toc
+++ b/test.toc
@@ -1,8 +1,11 @@
main @= fn() {
x := 1;
- if x {
- foo := 5;
- };
- foo := if 1 { 5 };
+ foo := if x {
+ 9
+ } elif 7-3 {
+ 5
+ } elif main {
+ 3
+ } else {7 };
};