/* { dg-do compile } */ /* { dg-options "-Winline -O2" } */ inline int q(void); /* { dg-warning "body not available" "" } */ inline int t(void) { return q(); /* { dg-warning "called from here" "" } */ }