summaryrefslogtreecommitdiffstats
path: root/stacker/test/add.st
diff options
context:
space:
mode:
Diffstat (limited to 'stacker/test/add.st')
-rw-r--r--stacker/test/add.st7
1 files changed, 7 insertions, 0 deletions
diff --git a/stacker/test/add.st b/stacker/test/add.st
new file mode 100644
index 00000000000..89d5a9cb681
--- /dev/null
+++ b/stacker/test/add.st
@@ -0,0 +1,7 @@
+#
+# ADD test
+#
+FORWARD success;
+FORWARD failure;
+: step2 7 93 + 100 = IF success ELSE failure ENDIF ;
+: MAIN 93 7 + 100 = IF step2 ELSE failure ENDIF ;
OpenPOWER on IntegriCloud