blob: 66cc53f42e086240dd98385ccaa9f7defa11704e [file] [log] [blame]
Reid Spencer73e70822006-12-29 20:01:32 +00001; RUN: llvm-upgrade < %s > %t1.ll
2; RUN: bugpoint %t1.ll -dce -bugpoint-deletecalls -simplifycfg
Chris Lattnerf64387d2002-12-23 23:50:35 +00003
4%.LC0 = internal global [13 x sbyte] c"Hello World\0A\00"
5
6implementation
7
8declare int %printf(sbyte*, ...)
9
10int %main() {
11 call int(sbyte*, ...)* %printf( sbyte* getelementptr ([13 x sbyte]* %.LC0, long 0, long 0) )
12 ret int 0
13}
14