2012-07-02 18:37:59 +00:00
|
|
|
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
2010-12-05 20:50:26 +00:00
|
|
|
; PR4170
|
|
|
|
|
2012-04-08 11:00:38 +00:00
|
|
|
; CHECK: invalid indices for extractvalue
|
|
|
|
|
2010-12-05 20:50:26 +00:00
|
|
|
define void @test() {
|
|
|
|
entry:
|
|
|
|
extractvalue [0 x i32] undef, 0
|
|
|
|
ret void
|
|
|
|
}
|