diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-09-30 12:42:21 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-09-30 12:42:21 -0400 |
commit | 1352aaa4741bf9e558070150ae7b223ad8aa62e8 (patch) | |
tree | 2a2c27b42f16e8e3f48c8682f2f9b814a9e1f1a8 /tnslc/test.tnsl | |
parent | 22ae58b9c2120cbc28edfe8f6b6ee81d786f3f9a (diff) |
[tnslc] finish decl
Diffstat (limited to 'tnslc/test.tnsl')
-rw-r--r-- | tnslc/test.tnsl | 16 |
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 |