diff options
Diffstat (limited to 'tests/test_funcall_3.tnsl')
-rw-r--r-- | tests/test_funcall_3.tnsl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/test_funcall_3.tnsl b/tests/test_funcall_3.tnsl new file mode 100644 index 0000000..b974ea7 --- /dev/null +++ b/tests/test_funcall_3.tnsl @@ -0,0 +1,16 @@ +struct Str { + int i, j +} + +/; strout [Str] + Str out + out.i = 60 + out.j = 9 + return out +;/ + +/; main [int] + Str out + out = strout() + return out.j + out.i +;/ |