Return success on success
authorChris Lattner <sabre@nondot.org>
Fri, 13 Dec 2002 10:13:45 +0000 (10:13 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 Dec 2002 10:13:45 +0000 (10:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5006 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/test-phi.ll

index 785a41b4f3518d9b5f30e73efe7dbaa256167326..14b1b60ce31ce6fe5f00ff3e47fa90d07d4d8258 100644 (file)
@@ -11,11 +11,11 @@ Dead:
        br label %T
 }
 
-void %main() {
+int %main() {
        br label %Test
 Test:
        %X = phi int [7, %0], [%Y, %Dead]
-       ret void
+       ret int 0
 Dead:
        %Y = shr int 12, ubyte 4
        br label %Test