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

test/ExecutionEngine/hello.ll

index b85e3221c0e4aa40054a308086eceb232f0d0694..1f8c77be20734c3d837a784936e794d3fbb26e1b 100644 (file)
@@ -4,8 +4,8 @@ implementation
 
 declare int %puts(sbyte*)
 
-void %main() {
+int %main() {
         %reg210 = call int %puts( sbyte* getelementptr ([12 x sbyte]* %.LC0, long 0, long 0) )
-        ret void
+        ret int 0
 }