Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr47610.c
blob906af74f92075e66722d832653629676337e347c
1 /* PR middle-end/47610 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fpic" { target fpic } } */
4 struct S { const char *s; };
5 const struct S s[] = { "s" };
6 extern void foo (void (*) (void));
7 static void bar (void) {}
8 void baz () { foo (bar); }