diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-03-26 13:35:27 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-03-26 13:35:27 -0400 |
commit | e0ca664381066668073270ce1fe3e0813b25bfb1 (patch) | |
tree | 197c27956d8ea6036b720496d826482e493b62a2 /tests/test_conditional_5.tnsl | |
parent | e6fa86985af283622d28613ab46b87fc7c5a4685 (diff) |
More bool ops
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 + +;/ |