[llvm-commits] [test-suite] r61673 - /test-suite/trunk/SingleSource/UnitTests/2007-04-25-weak.c
Dan Gohman
gohman at apple.com
Sun Jan 4 20:55:51 PST 2009
Author: djg
Date: Sun Jan 4 22:55:51 2009
New Revision: 61673
URL: http://llvm.org/viewvc/llvm-project?rev=61673&view=rev
Log:
Fix this test so that main returns 0 on success.
Modified:
test-suite/trunk/SingleSource/UnitTests/2007-04-25-weak.c
Modified: test-suite/trunk/SingleSource/UnitTests/2007-04-25-weak.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/2007-04-25-weak.c?rev=61673&r1=61672&r2=61673&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/2007-04-25-weak.c (original)
+++ test-suite/trunk/SingleSource/UnitTests/2007-04-25-weak.c Sun Jan 4 22:55:51 2009
@@ -7,7 +7,9 @@
int main(){
int (*t)() = test_weak;
- if (t)
- return t();
- else return 250;
+ if (t) {
+ t();
+ return 1;
+ }
+ return 0;
}
More information about the llvm-commits
mailing list