mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-23 04:35:43 +00:00
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:
parent
a51245036e
commit
a5e7f35daa
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user