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