llvm-6502/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
Chris Lattner 5d6bdae118 new testcases that simplifycfg breaks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7598 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-05 16:11:36 +00:00

10 lines
171 B
LLVM

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