2003-08-05 16:11:36 +00:00
|
|
|
; Do not remove the invoke!
|
|
|
|
;
|
2003-09-16 15:29:54 +00:00
|
|
|
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep invoke
|
2003-08-05 16:11:36 +00:00
|
|
|
|
|
|
|
int %test() {
|
|
|
|
invoke int %test() to label %Ret except label %Ret
|
|
|
|
Ret:
|
|
|
|
%A = add int 0, 1
|
|
|
|
ret int %A
|
|
|
|
}
|