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