summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/ExecutionEngine
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
commitf251eec757ac939901646cd8687afcb9fd7ae9ee (patch)
tree49a910e6b330990c238b9658b9462a4db4e819c8 /llvm/test/Regression/ExecutionEngine
parent53e86c4bac2829e73e63637a75730d68a5377d6f (diff)
downloadbcm5719-llvm-f251eec757ac939901646cd8687afcb9fd7ae9ee.tar.gz
bcm5719-llvm-f251eec757ac939901646cd8687afcb9fd7ae9ee.zip
Exit only with a value from 0-255.
llvm-svn: 18119
Diffstat (limited to 'llvm/test/Regression/ExecutionEngine')
-rw-r--r--llvm/test/Regression/ExecutionEngine/test-call.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/Regression/ExecutionEngine/test-call.ll b/llvm/test/Regression/ExecutionEngine/test-call.ll
index 89e128a5a12..e73157d917c 100644
--- a/llvm/test/Regression/ExecutionEngine/test-call.ll
+++ b/llvm/test/Regression/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) {
OpenPOWER on IntegriCloud