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

11 lines
179 B
LLVM
Raw Normal View History

2004-11-13 01:06:32 +01:00
; 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
}