diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-03-11 04:04:13 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-03-11 04:04:13 -0400 |
commit | e89df8aad15c2d9a86f9a5bc04657fded6494f17 (patch) | |
tree | 7aef9bdc3aca2d7f5f2044de2206f330dd7ebdea /tests/test_conditional.tnsl | |
parent | 94263bdaba6e3761eb58d3f6ebf4708d91f2c042 (diff) |
Function call (not working)
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 +;/ |