summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-06-23 20:09:33 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-06-23 20:09:33 -0400
commit3e817291b19248ac2ea598dac314068dd1a5b007 (patch)
tree2174ad3c96ef38ea7e8272e009fca1695ad9d5c2 /tests
parent7a1f38ceb859ff5d4816729be7d66c017fb0d355 (diff)
Basic literals in place
Diffstat (limited to 'tests')
-rw-r--r--tests/test_pointer_6.tnsl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_pointer_6.tnsl b/tests/test_pointer_6.tnsl
new file mode 100644
index 0000000..3a850cb
--- /dev/null
+++ b/tests/test_pointer_6.tnsl
@@ -0,0 +1,8 @@
+/; main [int]
+ ~uint8 a = "asdf\0"
+ {}uint8 b = "bsdf\0"
+ /; if (a` == 'a' && b{0} == 'b')
+ return 69
+ ;/
+ return 0
+;/