2012-04-08 19:00:38 +08:00
|
|
|
; RUN: not llvm-as < %s |& FileCheck %s
|
2010-12-06 04:50:26 +08:00
|
|
|
; PR4170
|
|
|
|
|
2012-04-08 19:00:38 +08:00
|
|
|
; CHECK: invalid indices for extractvalue
|
|
|
|
|
2010-12-06 04:50:26 +08:00
|
|
|
define void @test() {
|
|
|
|
entry:
|
|
|
|
extractvalue [0 x i32] undef, 0
|
|
|
|
ret void
|
|
|
|
}
|