1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* { dg-do compile } */ /* { dg-options "-O -finline-small-functions -fno-ipa-pure-const" } */ float baz (void) { return 0; } static inline int bar (int (*ibaz) (void)) { return ibaz (); } void foo (void) { bar((int (*)(void))baz); }