llvm/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll
Chris Lattner 8de2da4105 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17698 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 00:06:32 +00:00

11 lines
179 B
LLVM

; 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
}