mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-01 09:26:22 +00:00

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10187 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
278 B
Smalltalk
11 lines
278 B
Smalltalk
#
|
|
# SWAP2 test
|
|
#
|
|
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_1 1 = IF try_4 ELSE failure ENDIF ;
|
|
: MAIN 0 1 2 3 4 SWAP2 2 = IF try_1 ELSE failure ENDIF ;
|