aboutsummaryrefslogtreecommitdiffstats
path: root/tests/nested-ifs2.forth
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nested-ifs2.forth')
-rw-r--r--tests/nested-ifs2.forth8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/nested-ifs2.forth b/tests/nested-ifs2.forth
new file mode 100644
index 0000000..9fe1260
--- /dev/null
+++ b/tests/nested-ifs2.forth
@@ -0,0 +1,8 @@
+INPUT
+: f if 99 . if 88 . then 77 . then 66 . ;
+1 1 f
+OUTPUT
+99
+88
+77
+66