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