blob: 811fe50b4c745651790c8885f36c4626e5323d4f [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; Do not remove the invoke!
2;
3; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
4
5int %test() {
6 %A = invoke int %test() to label %Ret except label %Ret2
7Ret:
8 ret int %A
9Ret2:
10 ret int undef
11}