mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-27 22:12:47 +01:00
37ebb1a55f
program exits with code 0, no error. If the call does not work/succeed, main returns 1, so we notice it. The other way around doesn't work. :) llvm-svn: 4984
8 lines
77 B
LLVM
8 lines
77 B
LLVM
|
|
declare void %exit(int)
|
|
|
|
int %main() {
|
|
call void %exit(int 0)
|
|
ret int 1
|
|
}
|