xref: /llvm-project/llvm/test/Assembler/extractvalue-invalid-idx.ll (revision 5da53436d526162bf696ba40df3841a6b5992fbd)
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2; PR4170
3
4; CHECK: invalid indices for extractvalue
5
6define void @test() {
7entry:
8        extractvalue [0 x i32] undef, 0
9        ret void
10}
11