fix PR4963: folding insertvalue would sometimes turn a packed struct into
[llvm/avr.git] / test / Transforms / SCCP / 2002-08-30-GetElementPtrTest.ll
blob6aaf33ec206c3b346b749fd1f0d46e813596a7e1
1 ; RUN: opt < %s -sccp -S | not grep %X
3 @G = external global [40 x i32]         ; <[40 x i32]*> [#uses=1]
5 define i32* @test() {
6         %X = getelementptr [40 x i32]* @G, i64 0, i64 0         ; <i32*> [#uses=1]
7         ret i32* %X