aboutsummaryrefslogtreecommitdiffstats
path: root/tests/simple-if.forth
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simple-if.forth')
-rw-r--r--tests/simple-if.forth5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/simple-if.forth b/tests/simple-if.forth
new file mode 100644
index 0000000..668ea0d
--- /dev/null
+++ b/tests/simple-if.forth
@@ -0,0 +1,5 @@
+INPUT
+1 1 = if 5 . then 8 .
+OUTPUT
+5
+8