summaryrefslogtreecommitdiff
path: root/tnslc/simple.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/simple.tnsl')
-rw-r--r--tnslc/simple.tnsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tnslc/simple.tnsl b/tnslc/simple.tnsl
index 9e0f700..20348c1 100644
--- a/tnslc/simple.tnsl
+++ b/tnslc/simple.tnsl
@@ -11,8 +11,8 @@ struct Test {
int i, j, k
}
-/; call_me (int i) [int]
- return i + 1
+/; call_me (int i, j) [int]
+ return i + j
;/
/; main (int argc, ~~uint argv) [int]
@@ -35,7 +35,7 @@ struct Test {
argc = 90
;/
- m.j = call_me(m.j)
+ m.j = call_me(m.j, argc)
# return 3
return m.j