summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-03-14 01:11:23 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-03-14 01:11:23 -0400
commite25b738656928b38781458ed85880e8ae7bdd5a6 (patch)
tree3c21849a0139d778a65923081cf37a2ead9f03fb /tests
parent392984c0cf53fff4a64bc74e3f32ccba4c93dba8 (diff)
Test vector impl
Diffstat (limited to 'tests')
-rw-r--r--tests/test_funcall_5.tnsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_funcall_5.tnsl b/tests/test_funcall_5.tnsl
new file mode 100644
index 0000000..48bd4fe
--- /dev/null
+++ b/tests/test_funcall_5.tnsl
@@ -0,0 +1,12 @@
+/; f_a (int a) [int]
+ return a
+;/
+
+/; f_b (int a, ~int b) [int]
+ return a + b`
+;/
+
+/; main [int]
+ int a = 60
+ return f_b(f_a(1) * 9, ~a)
+;/