Return 0 to make it into a fully-functioning "Hello, World!" test case.
authorMisha Brukman <brukman+llvm@gmail.com>
Wed, 4 Dec 2002 23:58:41 +0000 (23:58 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Wed, 4 Dec 2002 23:58:41 +0000 (23:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4931 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/simplesttest.ll

index f763e2fa18b3c9dd7b8a34269d60a283d164ff5b..48d7688bcc62b399ceb935c4d7928af7106d1e48 100644 (file)
@@ -12,8 +12,8 @@ void %bar() {
   ret void 
 }
 
-void %main() {
+int %main() {
         call void %bar()
-        ret void
+        ret int 0
 }