Merging r258616:
[oota-llvm.git] / test / Transforms / GlobalOpt / basictest.ll
1 ; RUN: opt < %s -globalopt -S | not grep global
2
3 @X = internal global i32 4              ; <i32*> [#uses=1]
4
5 define i32 @foo() {
6         %V = load i32, i32* @X               ; <i32> [#uses=1]
7         ret i32 %V
8 }
9