[llvm-commits] [test-suite] r41297 - /test-suite/trunk/SingleSource/Regression/C/DuffsDevice.c
Tanya Lattner
tonic at nondot.org
Wed Aug 22 14:24:52 PDT 2007
Author: tbrethou
Date: Wed Aug 22 16:24:52 2007
New Revision: 41297
URL: http://llvm.org/viewvc/llvm-project?rev=41297&view=rev
Log:
main should return 0.
Modified:
test-suite/trunk/SingleSource/Regression/C/DuffsDevice.c
Modified: test-suite/trunk/SingleSource/Regression/C/DuffsDevice.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Regression/C/DuffsDevice.c?rev=41297&r1=41296&r2=41297&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Regression/C/DuffsDevice.c (original)
+++ test-suite/trunk/SingleSource/Regression/C/DuffsDevice.c Wed Aug 22 16:24:52 2007
@@ -24,7 +24,7 @@
}
}
-void main() {
+int main() {
short Array[100];
short Sum = 0;
int i;
@@ -35,4 +35,5 @@
sum(&Sum, Array, 100);
printf("Sum is %d\n", Sum);
+ return 0;
}
More information about the llvm-commits
mailing list