Test handling of TRY_CATCH_EXPRs for which the handler is a sequence of
[oota-llvm.git] / test / Verifier / invoke-1.ll
1 ; RUN: not llvm-as < %s -o /dev/null -f
2 ; PR1042
3
4 int %foo() {
5         %A = invoke int %foo( )
6                         to label %L unwind label %L             ; <int> [#uses=1]
7
8 L:              ; preds = %0, %0
9         ret int %A
10 }