aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-13 06:57:24 +0000
committerChris Lattner <sabre@nondot.org>2002-12-13 06:57:24 +0000
commit4373140d8a194b2e0797097667fc3b88108b1544 (patch)
tree1007a0a63007dd72585df46a68fb087f5eed4c95 /test/ExecutionEngine
parentc0812d8f39a489ef29d8963c9d6a10cc76ccd4ba (diff)
downloadexternal_llvm-4373140d8a194b2e0797097667fc3b88108b1544.zip
external_llvm-4373140d8a194b2e0797097667fc3b88108b1544.tar.gz
external_llvm-4373140d8a194b2e0797097667fc3b88108b1544.tar.bz2
return 0 on success
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4996 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine')
-rw-r--r--test/ExecutionEngine/hello.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ExecutionEngine/hello.ll b/test/ExecutionEngine/hello.ll
index b85e322..1f8c77b 100644
--- a/test/ExecutionEngine/hello.ll
+++ b/test/ExecutionEngine/hello.ll
@@ -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
}