New basic testcase for the constifier
[oota-llvm.git] / test / Transforms / GlobalConstifier / basictest.llx
1 ; RUN: llvm-as < %s | opt -constify | llvm-dis | not grep global
2
3 %X = internal global int 4
4
5
6 int %foo() {
7         %V = load int* %X
8         ret int %V
9 }