Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / attr-weak-hidden-1a.c
blobf6d3e9eae4b1b7679163f134a2debd87760a6828
1 /* { dg-require-weak "" } */
2 /* { dg-require-visibility "" } */
3 void abort (void);
4 int __attribute__((weak, visibility("hidden"))) foo (void) { return 1; }
5 int
6 main (void)
8 if (foo ())
9 abort ();
10 return 0;