1 ; Test folding of constantexpr geps into normal geps.
2 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -gcse -instcombine | \
3 ; RUN: llvm-dis | not grep getelementptr
5 %Array = external global [40 x int]
8 %A = getelementptr int* getelementptr ([40 x int]* %Array, long 0, long 0), long %X
9 %B = getelementptr [40 x int]* %Array, long 0, long %X
10 %a = cast int* %A to int
11 %b = cast int* %B to int