summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-09-30 12:42:21 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-09-30 12:42:21 -0400
commit1352aaa4741bf9e558070150ae7b223ad8aa62e8 (patch)
tree2a2c27b42f16e8e3f48c8682f2f9b814a9e1f1a8 /tnslc/test.tnsl
parent22ae58b9c2120cbc28edfe8f6b6ee81d786f3f9a (diff)
[tnslc] finish decl
Diffstat (limited to 'tnslc/test.tnsl')
-rw-r--r--tnslc/test.tnsl16
1 files changed, 1 insertions, 15 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl
index 0d54258..c1b44cd 100644
--- a/tnslc/test.tnsl
+++ b/tnslc/test.tnsl
@@ -1,17 +1,3 @@
-struct Fin {
- ~void fd,
- int state
-}
-
-/; main (int argc, {}{}uint8 argv) [int]
- uint8 a = 1
- ~uint8 b = ~a
- Fin c
- ~Fin d = ~c
- b` = 2
- c.state = a
- d`.state = 0
- return c.state
-;/
+int i = 1 + 2 * 4 - 3 + 4