| Reid Spencer | 73e7082 | 2006-12-29 20:01:32 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s > %t1.ll |
| 2 | ; RUN: bugpoint %t1.ll -dce -bugpoint-deletecalls -simplifycfg | ||||
| Chris Lattner | f64387d | 2002-12-23 23:50:35 +0000 | [diff] [blame] | 3 | |
| 4 | %.LC0 = internal global [13 x sbyte] c"Hello World\0A\00" | ||||
| 5 | |||||
| 6 | implementation | ||||
| 7 | |||||
| 8 | declare int %printf(sbyte*, ...) | ||||
| 9 | |||||
| 10 | int %main() { | ||||
| 11 | call int(sbyte*, ...)* %printf( sbyte* getelementptr ([13 x sbyte]* %.LC0, long 0, long 0) ) | ||||
| 12 | ret int 0 | ||||
| 13 | } | ||||
| 14 | |||||