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

12 lines
213 B
LLVM
Raw Normal View History

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