1 /* PR tree-optimization/92860 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-Winline -O2 -fgnu89-inline" } */ 4 5 #pragma GCC push_options 6 #pragma GCC optimize("-O0") 7 #pragma GCC pop_options 8 9 inline int q(void); /* { dg-warning "body not available" } */ t(void)10inline int t(void) 11 { 12 return q(); /* { dg-message "called from here" } */ 13 } 14