aboutsummaryrefslogtreecommitdiffstats
path: root/test/Verifier/invoke-1.ll
blob: dd606f09c82dd881fe3563cee8f531837876f9a1 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-upgrade < %s | not llvm-as &| grep {not verify as correct}
; PR1042

int %foo() {
   %A = invoke int %foo( )
        to label %L unwind label %L             ; <int> [#uses=1]

L: ; preds = %0, %0
   ret int %A
}