aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/insertvalue-invalid-idx.ll
blob: 355d4e8c10fdbc0b29a06aef358d270137b0cfe4 (plain)
1
2
3
4
5
6
7
8
9
; RUN: not llvm-as < %s |& FileCheck %s

; CHECK: invalid indices for insertvalue

define void @test() {
entry:
  insertvalue [0 x i32] undef, i32 0, 0
  ret void
}