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));
bar(void)7 static void bar (void) {}
baz()8 void baz () { foo (bar); }
9