llvm/test/Transforms/InstCombine/2006-05-10-InvalidIndexUndef.ll
2006-12-02 04:23:10 +00:00

10 lines
243 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep undef
; XFAIL: *
%str = constant [4 x ubyte] c"str\00"
ubyte %main() {
%A = load ubyte* getelementptr ([4 x ubyte]* %str, long 0, long 5)
ret ubyte %A
}