Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[oota-llvm.git] / test / Transforms / SCCP / 2002-08-30-GetElementPtrTest.ll
1 ; RUN: opt < %s -sccp -S | not grep %X
2
3 @G = external global [40 x i32]         ; <[40 x i32]*> [#uses=1]
4
5 define i32* @test() {
6         %X = getelementptr [40 x i32]* @G, i64 0, i64 0         ; <i32*> [#uses=1]
7         ret i32* %X
8 }
9