mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-18 12:29:27 +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
|
; test unconditional branch
|
||||||
void %main() {
|
int %main() {
|
||||||
br label %Test
|
br label %Test
|
||||||
Test:
|
Test:
|
||||||
%X = seteq int 0, 4
|
%X = seteq int 0, 4
|
||||||
br bool %X, label %Test, label %Label
|
br bool %X, label %Test, label %Label
|
||||||
Label:
|
Label:
|
||||||
ret void
|
ret int 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user