1; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
3; CHECK: invalid indices for insertvalue
4
5define void @test() {
6entry:
7  insertvalue [0 x i32] undef, i32 0, 0
8  ret void
9}
10