summaryrefslogtreecommitdiff
path: root/test/ExecutionEngine/test-call.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-22 19:50:41 +0000
committerChris Lattner <sabre@nondot.org>2004-11-22 19:50:41 +0000
commit0baf656edb926758a69a7c95d212b73537813ab2 (patch)
tree96cf2de1a3dadfb10e4696c392d0bebae7b16443 /test/ExecutionEngine/test-call.ll
parent0c41db8665fcf594659cfe9fc8ac0caed9b18bee (diff)
downloadllvm-0baf656edb926758a69a7c95d212b73537813ab2.tar.gz
llvm-0baf656edb926758a69a7c95d212b73537813ab2.tar.bz2
llvm-0baf656edb926758a69a7c95d212b73537813ab2.tar.xz
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/test-call.ll')
-rw-r--r--test/ExecutionEngine/test-call.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/ExecutionEngine/test-call.ll b/test/ExecutionEngine/test-call.ll
index 89e128a5a1..e73157d917 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) {