blob: 96f7205b1ef4b1da2ee98d4a20a5a2ca59dea4f5 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-Winline -O1 -fno-unit-at-a-time" } */
/* APPLE LOCAL wording 4598393 */
inline int q(void); /* { dg-warning "the function body must appear before caller" } */
inline int t(void)
{
return q(); /* { dg-warning "called from here" } */
}
int q(void)
{
}