blob: 32fa36ca98abff369ce93a6ba2c898006c2975c8 [file] [log] [blame]
Dan Gohmanb1e1e822009-09-08 16:50:01 +00001; RUN: opt %s -sccp | llvm-dis | not grep %X
Chris Lattnereabb4952002-08-30 23:22:15 +00002
Tanya Lattnerf396cc82008-03-19 04:14:49 +00003@G = external global [40 x i32] ; <[40 x i32]*> [#uses=1]
Chris Lattnereabb4952002-08-30 23:22:15 +00004
Tanya Lattnerf396cc82008-03-19 04:14:49 +00005define i32* @test() {
6 %X = getelementptr [40 x i32]* @G, i64 0, i64 0 ; <i32*> [#uses=1]
7 ret i32* %X
Chris Lattnereabb4952002-08-30 23:22:15 +00008}
Tanya Lattnerf396cc82008-03-19 04:14:49 +00009