16 lines · plain
1; RUN: %lli -jit-kind=mcjit %s > /dev/null2; RUN: %lli %s > /dev/null3 4define i32 @_Z14func_exit_codev() nounwind uwtable {5entry:6 ret i32 07}8 9define i32 @main() nounwind uwtable {10entry:11 %retval = alloca i32, align 412 store i32 0, ptr %retval13 %call = call i32 @_Z14func_exit_codev()14 ret i32 %call15}16