2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / winline-1.c
blobac2ae82427a9e61d554c6192bf2fde3414a23a55
1 /* { dg-do compile } */
2 /* { dg-options "-Winline -O2" } */
4 void q(void);
5 inline int t(void)
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;