A new testcase for an instcombine miscompilation!
[oota-llvm.git] / test / Transforms / InstCombine / 2003-10-23-InstcombineNullFail.ll
1 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep false
2 %X = type { [10 x int], float }
3
4 implementation
5
6 bool %test() {
7         %A = getelementptr %X* null, long 0, ubyte 0, long 0
8         %B = setne int* %A, null
9         ret bool %B
10 }