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