aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll b/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
index 6c791d2e85..811fe50b4c 100644
--- a/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
+++ b/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
@@ -3,7 +3,9 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
int %test() {
- %A = invoke int %test() to label %Ret except label %Ret
+ %A = invoke int %test() to label %Ret except label %Ret2
Ret:
ret int %A
+Ret2:
+ ret int undef
}