llvm-6502/test/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll

11 lines
189 B
LLVM
Raw Normal View History

; Do not remove the invoke!
;
; RUN: as < %s | opt -simplifycfg | dis | grep invoke
int %test() {
invoke int %test() to label %Ret except label %Ret
Ret:
%A = add int 0, 1
ret int %A
}