| Eric Christopher | 79cc1e3 | 2014-09-02 22:28:02 +0000 | [diff] [blame] | 1 | ; RUN: %lli %s > /dev/null | 
| Danil Malyshev | 7c5db45 | 2012-05-17 21:07:47 +0000 | [diff] [blame] | 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 | } | ||||