blob: 462a637c2c2d56328e251cbf073f047fa115e528 [file] [log] [blame]
Evan Cheng802cd842009-03-21 18:12:24 +00001; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg -silence-passes %bugpoint_topts
Nick Lewyckyc55c27f2009-06-12 05:39:02 +00002; XFAIL: powerpc-.*-linux
Nick Lewycky0b389b52009-06-11 23:43:02 +00003; END.
4; Failure on PPC Linux is due to PR4293.
Chris Lattner5465cc52008-06-16 04:22:39 +00005
Tanya Lattnerd349a4e2008-02-17 00:15:09 +00006@.LC0 = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1]
Chris Lattnerf64387d2002-12-23 23:50:35 +00007
Tanya Lattnerd349a4e2008-02-17 00:15:09 +00008declare i32 @printf(i8*, ...)
Chris Lattnerf64387d2002-12-23 23:50:35 +00009
Tanya Lattnerd349a4e2008-02-17 00:15:09 +000010define i32 @main() {
11 call i32 (i8*, ...)* @printf( i8* getelementptr ([13 x i8]* @.LC0, i64 0, i64 0) ) ; <i32>:1 [#uses=0]
12 ret i32 0
Chris Lattnerf64387d2002-12-23 23:50:35 +000013}