attr-weak-hidden-1.c: Make definition of foo strong.
authorRichard Guenther <rguenther@suse.de>
Mon, 14 Feb 2011 13:44:53 +0000 (13:44 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 14 Feb 2011 13:44:53 +0000 (13:44 +0000)
2011-02-14  Richard Guenther  <rguenther@suse.de>

* gcc.dg/attr-weak-hidden-1.c: Make definition of foo strong.

From-SVN: r170128

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/attr-weak-hidden-1.c

index 63318f1..be7c57e 100644 (file)
@@ -1,3 +1,7 @@
+2011-02-14  Richard Guenther  <rguenther@suse.de>
+
+       * gcc.dg/attr-weak-hidden-1.c: Make definition of foo strong.
+
 2011-02-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        PR ada/41929
index 968bab7..b8d75d9 100644 (file)
@@ -3,4 +3,4 @@
 /* { dg-require-visibility "" } */
 /* { dg-options "-O2" } */
 /* { dg-additional-sources "attr-weak-hidden-1a.c" } */
-int __attribute__((weak, visibility("hidden"))) foo (void) { return 0; }
+int __attribute__((visibility("hidden"))) foo (void) { return 0; }