2009-03-21 19:12:24 +01:00
|
|
|
; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg -silence-passes %bugpoint_topts
|
2009-06-12 07:39:02 +02:00
|
|
|
; XFAIL: powerpc-.*-linux
|
2009-06-12 01:43:02 +02:00
|
|
|
; END.
|
|
|
|
; Failure on PPC Linux is due to PR4293.
|
2008-06-16 06:22:39 +02:00
|
|
|
|
2008-02-17 01:15:09 +01:00
|
|
|
@.LC0 = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1]
|
2002-12-24 00:50:35 +01:00
|
|
|
|
2008-02-17 01:15:09 +01:00
|
|
|
declare i32 @printf(i8*, ...)
|
2002-12-24 00:50:35 +01:00
|
|
|
|
2008-02-17 01:15:09 +01:00
|
|
|
define i32 @main() {
|
|
|
|
call i32 (i8*, ...)* @printf( i8* getelementptr ([13 x i8]* @.LC0, i64 0, i64 0) ) ; <i32>:1 [#uses=0]
|
|
|
|
ret i32 0
|
2002-12-24 00:50:35 +01:00
|
|
|
}
|