[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Vector/sumarray-dbl.c

Reid Spencer reid at x10sys.com
Tue Dec 12 15:43:06 PST 2006



Changes in directory llvm-test/SingleSource/UnitTests/Vector:

sumarray-dbl.c updated: 1.1 -> 1.2
---
Log message:

Make this program return a consistent result value.


---
Diffs of the changes:  (+2 -1)

 sumarray-dbl.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm-test/SingleSource/UnitTests/Vector/sumarray-dbl.c
diff -u llvm-test/SingleSource/UnitTests/Vector/sumarray-dbl.c:1.1 llvm-test/SingleSource/UnitTests/Vector/sumarray-dbl.c:1.2
--- llvm-test/SingleSource/UnitTests/Vector/sumarray-dbl.c:1.1	Thu Mar 30 20:11:46 2006
+++ llvm-test/SingleSource/UnitTests/Vector/sumarray-dbl.c	Tue Dec 12 17:42:51 2006
@@ -7,7 +7,7 @@
 
 union Array TheArray;
 
-void main() {
+int main() {
   int i;
   v8sd sum = { 0, 0, 0, 0, 0, 0, 0, 0};
   D8V sumV;
@@ -19,4 +19,5 @@
 
   sumV.V = sum;
   printD8V(&sumV);
+  return 0;
 }






More information about the llvm-commits mailing list