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