mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 15:42:07 +08:00
attr-weak-hidden-1.c: Make definition of foo strong.
2011-02-14 Richard Guenther <rguenther@suse.de> * gcc.dg/attr-weak-hidden-1.c: Make definition of foo strong. From-SVN: r170128
This commit is contained in:
parent
ad56a54c68
commit
88d0743e1a
@ -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
|
||||
|
@ -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; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user