diff options
| author | Kyle Gunger <kgunger12@gmail.com> | 2024-06-25 00:19:17 -0400 |
|---|---|---|
| committer | Kyle Gunger <kgunger12@gmail.com> | 2024-06-25 00:19:17 -0400 |
| commit | 3b5de0beed36c10798f96972ec9c9eeb142561c2 (patch) | |
| tree | d3d02830118992d229717e4657ff87d77ff01c1e /tnslc/test.tnsl | |
| parent | c4c595fe22bc76aa4d27f2383ec68a0aa74da37c (diff) | |
Start work on ast gen
Diffstat (limited to 'tnslc/test.tnsl')
| -rw-r--r-- | tnslc/test.tnsl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl index 7572f1f..28f0917 100644 --- a/tnslc/test.tnsl +++ b/tnslc/test.tnsl @@ -1,5 +1,12 @@ # should not be included + +/; whatev (~uint8 a) [uint8] + return a{0} +;/ + /; main [int] - + ~uint8 a = "asdf\0" + whatev(a) + whatev("asdf\0") return 0 ;/ |