PR c++/37276
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51012-2.c
blobfcc8cea7b3a04b9f7f02e04cef1ecbcf8a21b93c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-early-inlining" } */
4 float baz (void)
6 return 0;
9 static inline int bar (int (*ibaz) (void))
11 return ibaz ();
14 void foo (void)
16 bar((int (*)(void))baz);