summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
diff options
context:
space:
mode:
authorKai Gunger <kgunger12@gmail.com>2026-04-11 04:37:39 -0400
committerKai Gunger <kgunger12@gmail.com>2026-04-11 04:37:39 -0400
commit8997ebe0fa11f26698fb0ee081134e51a0d9e6fb (patch)
treeb82c971e82f23c5e15536806ae46792562b19c1e /tnslc/test.tnsl
parentaf4ef5d7af33530ee64980e9db1a9d52571f0e70 (diff)
[tnslc] initial comp of literals
Diffstat (limited to 'tnslc/test.tnsl')
-rw-r--r--tnslc/test.tnsl10
1 files changed, 2 insertions, 8 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl
index ddc10d1..5688724 100644
--- a/tnslc/test.tnsl
+++ b/tnslc/test.tnsl
@@ -1,11 +1,5 @@
-/; main (int argc, ~~uint8 argv) [int]
- int i = 0
- /; if (len args > 1)
- i = len args
- ;; else
- i = ~args
- ;/
- return i
+/; pass_a (int a) [int]
+ return a
;/