llvm-project/llvm/projects/Stacker/test/dup2.st

8 lines
146 B
Smalltalk

#
# DUP2 test
#
FORWARD success;
FORWARD failure;
: phase2 1 = IF success ELSE failure ENDIF ;
: MAIN 1 2 DUP2 2 = IF phase2 ELSE failure ENDIF ;