aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/working-compiler/str.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/working-compiler/str.test b/examples/working-compiler/str.test
new file mode 100644
index 0000000..470a93b
--- /dev/null
+++ b/examples/working-compiler/str.test
@@ -0,0 +1,8 @@
+0 3 "abcdef" str .infix dump
+3 6 "abcdef" str .infix dump
+0 2 neg "abcdef" str .infix dump
+2 neg 6 "abcdef" str .infix dump
+3 neg 1 neg "abcdef" str .infix dump
+2 0 "abcdef" str .infix dump
+2 neg "abcdef" str .postfix dump
+2 "abcdef" str .prefix dump