mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
Making main() return 0 to exit without error when no error actually occurs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4990 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a32f07857
commit
d74317acba
@ -1,5 +1,5 @@
|
||||
|
||||
void %main() {
|
||||
int %main() {
|
||||
%int1 = add int 0, 0
|
||||
%int2 = add int 0, 0
|
||||
;%long1 = add long 0, 0
|
||||
@ -64,5 +64,5 @@ void %main() {
|
||||
;%test46 = setle long %long1, %long2
|
||||
;%test47 = setlt long %long1, %long2
|
||||
;%test48 = setne long %long1, %long2
|
||||
ret void
|
||||
ret int 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user