aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/PruneEH/2003-09-14-ExternalCall.ll
blob: 679eafd5936302da87a12a3fcd0ed7431c39b0a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
; RUN: opt < %s -prune-eh -S | grep invoke

declare void @External()

define void @foo() {
	invoke void @External( )
			to label %Cont unwind label %Cont
Cont:		; preds = %0, %0
	ret void
}