llvm-for-llvmta/test/Assembler/insertvalue-invalid-idx.ll

10 lines
169 B
LLVM

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: invalid indices for insertvalue
define void @test() {
entry:
insertvalue [0 x i32] undef, i32 0, 0
ret void
}