1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/Regression/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll
Chris Lattner 3814fc9f08 New testcase
llvm-svn: 17698
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
}