llvm-project/llvm/test/Regression/BugPoint/misopt-basictest.ll
Reid Spencer 640509924e Update tests that need to be run through llvm-upgrade. This is necessary
for upcoming changes to the llvm assembly grammar.

llvm-svn: 32768
2006-12-29 20:01:32 +00:00

15 lines
343 B
LLVM

; RUN: llvm-upgrade < %s > %t1.ll
; RUN: bugpoint %t1.ll -dce -bugpoint-deletecalls -simplifycfg
%.LC0 = internal global [13 x sbyte] c"Hello World\0A\00"
implementation
declare int %printf(sbyte*, ...)
int %main() {
call int(sbyte*, ...)* %printf( sbyte* getelementptr ([13 x sbyte]* %.LC0, long 0, long 0) )
ret int 0
}