aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/insertvalue-invalid-idx.ll
blob: 74642f4eb0ce48b0c5b5df9e2409357970f4e98a (plain)
1
2
3
4
5
6
7
8
9
; 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
}