[llvm-commits] [test-suite] r41296 - /test-suite/trunk/SingleSource/UnitTests/Vector/sumarray.c
Tanya Lattner
tonic at nondot.org
Wed Aug 22 14:18:40 PDT 2007
Author: tbrethou
Date: Wed Aug 22 16:18:40 2007
New Revision: 41296
URL: http://llvm.org/viewvc/llvm-project?rev=41296&view=rev
Log:
void main() return value is undefined. Change to return 0.
Modified:
test-suite/trunk/SingleSource/UnitTests/Vector/sumarray.c
Modified: test-suite/trunk/SingleSource/UnitTests/Vector/sumarray.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Vector/sumarray.c?rev=41296&r1=41295&r2=41296&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Vector/sumarray.c (original)
+++ test-suite/trunk/SingleSource/UnitTests/Vector/sumarray.c Wed Aug 22 16:18:40 2007
@@ -7,7 +7,7 @@
union Array TheArray;
-void main() {
+int main() {
int i;
v4sf sum = { 0, 0, 0, 0};
FV sumFV;
@@ -19,4 +19,5 @@
sumFV.V = sum;
printFV(&sumFV);
+ return 0;
}
More information about the llvm-commits
mailing list