[llvm-commits] [test-suite] r54145 - /test-suite/trunk/SingleSource/Benchmarks/Misc/fbench.c
Dan Gohman
gohman at apple.com
Mon Jul 28 14:05:16 PDT 2008
Author: djg
Date: Mon Jul 28 16:05:16 2008
New Revision: 54145
URL: http://llvm.org/viewvc/llvm-project?rev=54145&view=rev
Log:
Give this test's main function a return value so that it
doesn't spuriously fail.
Modified:
test-suite/trunk/SingleSource/Benchmarks/Misc/fbench.c
Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/fbench.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc/fbench.c?rev=54145&r1=54144&r2=54145&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc/fbench.c (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc/fbench.c Mon Jul 28 16:05:16 2008
@@ -675,6 +675,7 @@
/* Initialise when called the first time */
+int
main(argc, argv)
int argc;
char *argv[];
@@ -824,4 +825,5 @@
} else
printf("\nNo errors in results.\n");
#endif
+ return 0;
}
More information about the llvm-commits
mailing list