summaryrefslogtreecommitdiff
path: root/tests/test_conditional_2.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-03-25 16:37:07 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-03-25 16:37:07 -0400
commit00f4940ff1c19f3659779b2db078b85f178cb5ab (patch)
treec7aca037e64dbe184085e7342c187eef5ffb3c40 /tests/test_conditional_2.tnsl
parent8f86708daa697274a39f8b0af42291a4ed4573eb (diff)
More tests, dec and inc postfix
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
+;/