forked from OSchip/llvm-project
11 lines
214 B
LLVM
11 lines
214 B
LLVM
|
; Do not remove the invoke!
|
||
|
;
|
||
|
; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | grep invoke
|
||
|
|
||
|
int %test() {
|
||
|
invoke int %test() to label %Ret except label %Ret
|
||
|
Ret:
|
||
|
%A = add int 0, 1
|
||
|
ret int %A
|
||
|
}
|