2012-07-03 02:37:59 +08:00
|
|
|
; RUN: not llvm-as < %s 2>&1 | 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
|
|
|
|
}
|