llvm-6502/projects/Stacker/test/nip2.st
Chris Lattner e44f1db6e6 Checkin tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10187 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 18:12:22 +00:00

10 lines
215 B
Smalltalk

#
# NIP2 test
#
FORWARD success;
FORWARD failure;
: test_0 0 = IF success ELSE failure ENDIF ;
: test_3 3 = IF test_0 ELSE failure ENDIF ;
: test_4 4 = IF test_3 ELSE failure ENDIF ;
: MAIN 0 1 2 3 4 NIP2 test_4 ;