Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Transforms / CodeExtractor / 2004-11-12-InvokeExtract.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | 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 }