1 2 3 4 5 6 7 8
/* PR middle-end/47610 */ /* { dg-do compile } */ /* { dg-options "-O2 -fpic" { target fpic } } */ struct S { const char *s; }; const struct S s[] = { "s" }; extern void foo (void (*) (void)); static void bar (void) {} void baz () { foo (bar); }