mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
2f6f860aaa
Approved by Jim Grosbach, Lang Hames, Rafael Espindola. This reinstates commits r215111, 215115, 215116, 215117, 215136. llvm-svn: 216982
15 lines
268 B
LLVM
15 lines
268 B
LLVM
; RUN: %lli %s > /dev/null
|
|
|
|
define i32 @_Z14func_exit_codev() nounwind uwtable {
|
|
entry:
|
|
ret i32 0
|
|
}
|
|
|
|
define i32 @main() nounwind uwtable {
|
|
entry:
|
|
%retval = alloca i32, align 4
|
|
store i32 0, i32* %retval
|
|
%call = call i32 @_Z14func_exit_codev()
|
|
ret i32 %call
|
|
}
|