llvm-for-llvmta/test/Assembler/extractvalue-invalid-idx.ll

11 lines
185 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; PR4170
; CHECK: invalid indices for extractvalue
define void @test() {
entry:
extractvalue [0 x i32] undef, 0
ret void
}