YouCompleteMe/cpp/llvm/test/Assembler/extractvalue-invalid-idx.ll

11 lines
181 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: not llvm-as < %s |& FileCheck %s
; PR4170
; CHECK: invalid indices for extractvalue
define void @test() {
entry:
extractvalue [0 x i32] undef, 0
ret void
}