1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/Regression/Transforms/InstCombine/2006-05-10-InvalidIndexUndef.ll

10 lines
228 B
LLVM
Raw Normal View History

; 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
}