From 0baf656edb926758a69a7c95d212b73537813ab2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 22 Nov 2004 19:50:41 +0000 Subject: [PATCH] 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 --- test/ExecutionEngine/test-call.ll | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) { -- 2.34.1