diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2002-12-13 05:44:21 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2002-12-13 05:44:21 +0000 |
commit | 297372c523817631df26e76024642008184a3f67 (patch) | |
tree | 0a8a230b6a79a35e423f4d7f8be269650530b383 /test/ExecutionEngine/test-arith.ll | |
parent | d74317acbacd1352a551744cd2130de9a2d6b96d (diff) | |
download | llvm-297372c523817631df26e76024642008184a3f67.tar.gz llvm-297372c523817631df26e76024642008184a3f67.tar.bz2 llvm-297372c523817631df26e76024642008184a3f67.tar.xz |
Making main() return 0 so that we know it ran successfully when it exits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine/test-arith.ll')
-rw-r--r-- | test/ExecutionEngine/test-arith.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ExecutionEngine/test-arith.ll b/test/ExecutionEngine/test-arith.ll index 0527277e9d..3e6e27cd36 100644 --- a/test/ExecutionEngine/test-arith.ll +++ b/test/ExecutionEngine/test-arith.ll @@ -1,5 +1,5 @@ -void %main() { +int %main() { %A = add sbyte 0, 12 %B = sub sbyte %A, %A %C = mul sbyte %B, %B @@ -24,5 +24,5 @@ void %main() { %F = div uint 5, 6 %G = rem uint 6, 5 - ret void + ret int 0 } |