Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s > %t1.ll |
2 | ; RUN: bugpoint %t1.ll -dce -bugpoint-deletecalls -simplifycfg | ||||
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 |