summaryrefslogtreecommitdiff
path: root/test/Assembler/insertvalue-invalid-idx.ll
blob: 86e7258cc5937ad5b0da30b99cf97fafe55b4e35 (plain)
1
2
3
4
5
6
7
; RUN: not llvm-as < %s |& grep {invalid indices for insertvalue}

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