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