1 2 3 4 5 6 7 8 9 10 11 12 13
/* { dg-do compile } */ /* { dg-options "-Winline -O2" } */ void q(void); inline int t(void) { int ret; q(); ret = t(); /* We define sane semantics for inline keyword on recursive functions, so do not warn here. */ q(); return ret; }