llvm-6502/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
Chris Lattner c80dfba667 fix buggy testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32626 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-16 02:29:22 +00:00

12 lines
213 B
LLVM

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