Return 'int 0' instead of void so that the test can be considered to pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6653 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2003-06-06 07:58:29 +00:00
parent a51245036e
commit a5e7f35daa

View File

@ -1,9 +1,9 @@
; test unconditional branch
void %main() {
int %main() {
br label %Test
Test:
%X = seteq int 0, 4
br bool %X, label %Test, label %Label
Label:
ret void
ret int 0
}