llvm-6502/test/Transforms/InstCombine/2006-05-10-InvalidIndexUndef.ll
2006-05-25 21:25:54 +00:00

10 lines
228 B
LLVM

; RUN: llvm-as < %s | 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
}