summaryrefslogtreecommitdiff
path: root/tests/test_conditional_2.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_conditional_2.tnsl')
-rw-r--r--tests/test_conditional_2.tnsl11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test_conditional_2.tnsl b/tests/test_conditional_2.tnsl
new file mode 100644
index 0000000..ac29d44
--- /dev/null
+++ b/tests/test_conditional_2.tnsl
@@ -0,0 +1,11 @@
+/; main [int]
+ int a, b
+ a = 69
+ b = 0
+
+ /; if (a > b)
+ return a
+ ;/
+
+ return b
+;/