fix buggy testcase
authorChris Lattner <sabre@nondot.org>
Sat, 16 Dec 2006 02:29:22 +0000 (02:29 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 16 Dec 2006 02:29:22 +0000 (02:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32626 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll

index 6c791d2e85df4afd5817c30db277a630c2464a7e..811fe50b4c745651790c8885f36c4626e5323d4f 100644 (file)
@@ -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
 }