Exit only with a value from 0-255.

llvm-svn: 18119
This commit is contained in:
Chris Lattner 2004-11-22 19:50:41 +00:00
parent e35ae48fcd
commit 8a01a5f7ad

View File

@ -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) {