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