blob: ff549adbaed7cea36cf038a7f57fe84dcb1bd004 (
plain)
1
2
3
4
5
6
7
8
9
10
|
; 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
}
|