summaryrefslogtreecommitdiff
path: root/tests/test_funcall_3.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_funcall_3.tnsl')
-rw-r--r--tests/test_funcall_3.tnsl9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/test_funcall_3.tnsl b/tests/test_funcall_3.tnsl
index b974ea7..0a77bf0 100644
--- a/tests/test_funcall_3.tnsl
+++ b/tests/test_funcall_3.tnsl
@@ -9,8 +9,11 @@ struct Str {
return out
;/
+/; strin (Str in) [int]
+ return in.i
+;/
+
/; main [int]
- Str out
- out = strout()
- return out.j + out.i
+ Str out = strout()
+ return strin(out) + out.j
;/