1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
2007-01-17 07:59:14 +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
}