1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/projects/Stacker/test/select.st
Chris Lattner 2ca889c341 Checkin tests
llvm-svn: 10187
2003-11-23 18:12:22 +00:00

8 lines
176 B
Smalltalk

#
# SELECT test
#
FORWARD success;
FORWARD failure;
: try_99 99 = IF success ELSE failure ENDIF ;
: MAIN 99 10 9 8 7 6 5 4 3 2 1 10 5 SELECT 5 = IF try_99 ELSE failure ENDIF ;