| Michael J. Spencer | b28f461 | 2011-10-25 22:30:58 +0000 | [diff] [blame^] | 1 | @.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1 |
| 2 | |||||
| 3 | define i32 @main() nounwind { | ||||
| 4 | entry: | ||||
| 5 | %call = tail call i32 @puts(i8* getelementptr inbounds ([13 x i8]* @.str, i32 0, i32 0)) nounwind | ||||
| 6 | tail call void bitcast (void (...)* @SomeOtherFunction to void ()*)() nounwind | ||||
| 7 | ret i32 0 | ||||
| 8 | } | ||||
| 9 | |||||
| 10 | declare i32 @puts(i8* nocapture) nounwind | ||||
| 11 | |||||
| 12 | declare void @SomeOtherFunction(...) | ||||