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 | 999f5d6fb8e459af05fcd955a0b828c3b3be713c (patch) | |
| tree | 59df627d8eb5beabe4dbc77a32cdf29366cc1bec /llvm | |
| parent | 3bbfca14011c409814be66d1d223299db11e5640 (diff) | |
| download | bcm5719-llvm-999f5d6fb8e459af05fcd955a0b828c3b3be713c.tar.gz bcm5719-llvm-999f5d6fb8e459af05fcd955a0b828c3b3be713c.zip | |
Making main() return 0 so that we know it ran successfully when it exits.
llvm-svn: 4991
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/Regression/Jello/test-arith.ll | 4 | ||||
| -rw-r--r-- | llvm/test/Regression/Jello/test-shift.ll | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/Regression/Jello/test-arith.ll b/llvm/test/Regression/Jello/test-arith.ll index 0527277e9d6..3e6e27cd36c 100644 --- a/llvm/test/Regression/Jello/test-arith.ll +++ b/llvm/test/Regression/Jello/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 } diff --git a/llvm/test/Regression/Jello/test-shift.ll b/llvm/test/Regression/Jello/test-shift.ll index a3156e9a50e..475574996a1 100644 --- a/llvm/test/Regression/Jello/test-shift.ll +++ b/llvm/test/Regression/Jello/test-shift.ll @@ -1,5 +1,5 @@ ; test shifts -void %main() { +int %main() { %i = add int 10, 0 %u = add uint 20, 0 %shamt = add ubyte 0, 0 @@ -23,5 +23,5 @@ void %main() { %temp07 = shr int %i, ubyte 6 ; 1 1 1 %temp08 = shr uint %u, ubyte 7 - ret void + ret int 0 } |

