summaryrefslogtreecommitdiff
path: root/tests/test_funcall_2.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_funcall_2.tnsl')
-rw-r--r--tests/test_funcall_2.tnsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_funcall_2.tnsl b/tests/test_funcall_2.tnsl
new file mode 100644
index 0000000..3bf746c
--- /dev/null
+++ b/tests/test_funcall_2.tnsl
@@ -0,0 +1,12 @@
+/; ret_a [int]
+ return 9
+;/
+
+/; ret_b (int i, j) [int]
+ return i + j
+;/
+
+/; main [int]
+ int i = ret_a()
+ return ret_b(60, i)
+;/