summaryrefslogtreecommitdiff
path: root/tnslc/str_test.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/str_test.tnsl')
-rw-r--r--tnslc/str_test.tnsl9
1 files changed, 9 insertions, 0 deletions
diff --git a/tnslc/str_test.tnsl b/tnslc/str_test.tnsl
new file mode 100644
index 0000000..7875636
--- /dev/null
+++ b/tnslc/str_test.tnsl
@@ -0,0 +1,9 @@
+{}uint8 a = "\n\0\""
+
+/; str_call({}uint str) [int]
+ return len str
+;/
+
+/; main [int]
+ return str_call(~a)
+;/ \ No newline at end of file