From: Chris Lattner Date: Mon, 22 Nov 2004 19:50:41 +0000 (+0000) Subject: Exit only with a value from 0-255. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0baf656edb926758a69a7c95d212b73537813ab2;p=oota-llvm.git 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 --- diff --git a/test/ExecutionEngine/test-call.ll b/test/ExecutionEngine/test-call.ll index 89e128a5a12..e73157d917c 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) {