OSDN Git Service

2005-02-15 Eric Christopher <echristo@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / winline-1.c
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 }