diff options
Diffstat (limited to 'stacker/test/rot.st')
| -rw-r--r-- | stacker/test/rot.st | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/stacker/test/rot.st b/stacker/test/rot.st new file mode 100644 index 00000000000..75b1422ddc7 --- /dev/null +++ b/stacker/test/rot.st @@ -0,0 +1,9 @@ +# +# DUP test +# +FORWARD success; +FORWARD failure; +: phase4 0 = IF success ELSE failure ENDIF ; +: phase3 2 = IF phase4 ELSE failure ENDIF ; +: phase2 3 = IF phase3 ELSE failure ENDIF ; +: MAIN 0 1 2 3 ROT 1 = IF phase2 ELSE failure ENDIF ; |

