New testcase to see if -indvars can promote pointer arithmetic to array accesses
[oota-llvm.git] / test / Transforms / FunctionResolve / 2003-10-21-GlobalTypeDifference.ll
1 ; RUN: llvm-as < %s | opt -funcresolve -disable-output 2>&1 | grep WARNING
2
3 %X = external global int
4 %Z = global int* %X
5
6 %X = global float 1.0
7 %Y = global float* %X
8
9 implementation
10