If PrototypeValue is erased in the middle of using the SSAUpdator
[oota-llvm.git] / test / Verifier / invoke-1.ll
1 ; RUN: not llvm-as < %s |& grep {not verify as correct}
2 ; PR1042
3
4 define i32 @foo() {
5         %A = invoke i32 @foo( )
6                         to label %L unwind label %L             ; <i32> [#uses=1]
7 L:              ; preds = %0, %0
8         ret i32 %A
9 }
10