blob: 74642f4eb0ce48b0c5b5df9e2409357970f4e98a [file] [log] [blame]
Chandler Carruth49589f02012-07-02 18:37:59 +00001; RUN: not llvm-as < %s 2>&1 | FileCheck %s
Bill Wendlinga0126af2012-04-08 11:00:38 +00002
3; CHECK: invalid indices for insertvalue
Frits van Bommela4805cf2010-12-05 20:50:26 +00004
5define void @test() {
6entry:
Bill Wendlinga0126af2012-04-08 11:00:38 +00007 insertvalue [0 x i32] undef, i32 0, 0
8 ret void
Frits van Bommela4805cf2010-12-05 20:50:26 +00009}