diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-22 19:50:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-22 19:50:41 +0000 |
commit | 0baf656edb926758a69a7c95d212b73537813ab2 (patch) | |
tree | 96cf2de1a3dadfb10e4696c392d0bebae7b16443 /test/ExecutionEngine | |
parent | 0c41db8665fcf594659cfe9fc8ac0caed9b18bee (diff) | |
download | external_llvm-0baf656edb926758a69a7c95d212b73537813ab2.zip external_llvm-0baf656edb926758a69a7c95d212b73537813ab2.tar.gz external_llvm-0baf656edb926758a69a7c95d212b73537813ab2.tar.bz2 |
Exit only with a value from 0-255.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18119 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine')
-rw-r--r-- | test/ExecutionEngine/test-call.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/ExecutionEngine/test-call.ll b/test/ExecutionEngine/test-call.ll index 89e128a..e73157d 100644 --- a/test/ExecutionEngine/test-call.ll +++ b/test/ExecutionEngine/test-call.ll @@ -5,8 +5,9 @@ declare void %exit(int) int %test(sbyte %C, short %S) { - %X = cast short %S to int - ret int %X + %X = cast short %S to ubyte + %Y = cast ubyte %X to int + ret int %Y } void %FP(void(int) * %F) { |