llvm/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
2003-09-16 15:29:54 +00:00

10 lines
176 B
LLVM

; Do not remove the invoke!
;
; RUN: llvm-as < %s | opt -simplifycfg -disable-output
int %test() {
%A = invoke int %test() to label %Ret except label %Ret
Ret:
ret int %A
}