aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2014-03-06 10:56:03 +0100
committerDrahflow <drahflow@gmx.de>2014-03-06 10:56:03 +0100
commit2b3456f8ec1150318430bf71d9af04ff3311e32c (patch)
treefa469e802e3411b5c37bd326804992bfae4babe6 /examples
parentfa1df92de70f162de709bdff1f4c125c0d50247a (diff)
?-operator test cases
Diffstat (limited to 'examples')
-rw-r--r--examples/working-compiler/ternary.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/working-compiler/ternary.test b/examples/working-compiler/ternary.test
new file mode 100644
index 0000000..5c4bfab
--- /dev/null
+++ b/examples/working-compiler/ternary.test
@@ -0,0 +1,5 @@
+0 /yes /no ? dump
+1 /yes /no ? dump
+< { -- -- /lul } "?" deffd > ==s
+s dump
+s /yes /no ? dump