diff options
Diffstat (limited to 'tests/test_conditional.tnsl')
-rw-r--r-- | tests/test_conditional.tnsl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/test_conditional.tnsl b/tests/test_conditional.tnsl new file mode 100644 index 0000000..b82ac75 --- /dev/null +++ b/tests/test_conditional.tnsl @@ -0,0 +1,14 @@ +/; main [int] + + /; if (false) + return 1 + ;; else if (1 == 2) + return 2 + ;; else if (true) + return 69 + ;; else + return 3 + ;/ + + return 0 +;/ |