1 /* { dg-do run } */
2 /* { dg-require-weak "" } */
3 /* { dg-require-visibility "" } */
4 /* { dg-options "-O2" } */
5 /* { dg-additional-sources "attr-weak-hidden-1a.c" } */
foo(void)6 int __attribute__((visibility("hidden"))) foo (void) { return 0; }
7