summaryrefslogtreecommitdiff
path: root/test/Transforms/PruneEH/2003-09-14-ExternalCall.llx
blob: c42ddd228c4de0adc222cacdd9e22417d9f7c6ee (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | opt -prune-eh | llvm-dis | grep invoke

declare void %External()

implementation

void %foo() {
	invoke void %External() to label %Cont except label %Cont
Cont:
	ret void
}