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