blob: 0c98379a0bd2bea9cb04cf25bc9758989d82a5e2 [file] [log] [blame]
Eli Benderskya7f99f22012-01-17 09:14:54 +00001; RUN: %lli %s > /dev/null
2; XFAIL: arm
3; XFAIL: mcjit
4
5define i32 @_Z14func_exit_codev() nounwind uwtable {
6entry:
7 ret i32 0
8}
9
10define i32 @main() nounwind uwtable {
11entry:
12 %retval = alloca i32, align 4
13 store i32 0, i32* %retval
14 %call = call i32 @_Z14func_exit_codev()
15 ret i32 %call
16}