PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr78333.c
blobca037e55f82cdc8c5b96015703aad8c513bd98a6
1 /* { dg-do link } */
2 /* { dg-options "-finstrument-functions" } */
4 /* Add empty implementations of __cyg_profile_func_enter() and
5 __cyg_profile_func_exit() to avoid problems on non-glibc
6 systems. */
7 void __attribute__((no_instrument_function))
8 __cyg_profile_func_enter(void *this_fn, void *call_site)
12 void __attribute__((no_instrument_function))
13 __cyg_profile_func_exit(void *this_fn, void *call_site)
17 extern inline __attribute__((gnu_inline, always_inline)) int foo () { }
18 int main()
20 foo ();
21 return 0;