summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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
+;/