summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
diff options
context:
space:
mode:
authorKai Gunger <kgunger12@gmail.com>2026-04-29 02:21:38 -0400
committerKai Gunger <kgunger12@gmail.com>2026-04-29 02:21:38 -0400
commit84eb185812b70ec900ec8607bced68da440ae7a2 (patch)
treef337f2f2bd42fdbd4b5dcb382a5c449e7d4e3327 /tnslc/test.tnsl
parent3af75072c6226932f7dae48c6fc34c4177e42c18 (diff)
[tnslc] Basic statement comp
Diffstat (limited to 'tnslc/test.tnsl')
-rw-r--r--tnslc/test.tnsl8
1 files changed, 3 insertions, 5 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl
index 7bf76ce..3c89339 100644
--- a/tnslc/test.tnsl
+++ b/tnslc/test.tnsl
@@ -1,9 +1,7 @@
-/; five [int]
- return 5
-;/
-/; main (int argc, ~~uint8 argv) [int]
- return five()
+/; main [int]
+ int a = 0
+ return a
;/