aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll
blob: b654266f07edb96c33fdf8d09c21e0034b5b61de (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-as < %s | opt -extract-blocks -disable-output
int %foo() {
	br label %EB
EB:
	%V = invoke int %foo() to label %Cont unwind label %Unw
Cont:
	ret int %V
Unw:
	unwind
}