Files
clang-p2996/stacker/test/rot2.st
Reid Spencer e6fd0e826b For PR1074:
Remove the projects/Stacker directory. LLVM is now free of dependency
on llvm-gcc.

llvm-svn: 33278
2007-01-17 02:18:44 +00:00

15 lines
418 B
Smalltalk

#
# ROT2 test
#
# Logic: // w1 w2 w3 w4 w5 w6 -- w3 w4 w5 w6 w1 w2
#
FORWARD success;
FORWARD failure;
: try_0 0 = IF success ELSE failure ENDIF ;
: try_3 3 = IF try_0 ELSE failure ENDIF ;
: try_4 4 = IF try_3 ELSE failure ENDIF ;
: try_5 5 = IF try_4 ELSE failure ENDIF ;
: try_6 6 = IF try_5 ELSE failure ENDIF ;
: try_1 1 = IF try_6 ELSE failure ENDIF ;
: MAIN 0 1 2 3 4 5 6 ROT2 2 = IF try_1 ELSE failure ENDIF ;