summaryrefslogtreecommitdiff
path: root/tests/test_controll.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_controll.tnsl')
-rw-r--r--tests/test_controll.tnsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_controll.tnsl b/tests/test_controll.tnsl
new file mode 100644
index 0000000..47ff241
--- /dev/null
+++ b/tests/test_controll.tnsl
@@ -0,0 +1,12 @@
+/; main [int]
+
+ /; if (false)
+ return 1
+ ;; else if (1 == 0)
+ return 2
+ ;; else
+ return 69
+ ;/
+
+ return 0
+;/