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