Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Transforms / SimplifyCFG / 2003-08-05-InvokeCrash.ll
1 ; Do not remove the invoke!
2 ;
3 ; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
4
5 int %test() {
6         %A = invoke int %test() to label %Ret except label %Ret
7 Ret:
8         ret int %A
9 }