1 ; RUN: %lli_mcjit %s > /dev/null
2
3 define i32 @_Z14func_exit_codev() nounwind uwtable {
4 entry:
5 ret i32 0
6 }
7
8 define i32 @main() nounwind uwtable {
9 entry:
10 %retval = alloca i32, align 4
11 store i32 0, i32* %retval
12 %call = call i32 @_Z14func_exit_codev()
13 ret i32 %call
14 }
15