OSDN Git Service

2010-05-09 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / nested-func-6.c
1 /* { dg-do compile } */
2 /* { dg-options "-O -Winline" } */
3
4 static inline int foo1 (int a)
5 {                       /* { dg-bogus "function not inlinable" } */
6   void bar1 (int b)
7   {}
8   return a;
9 }
10
11 int foo2 (int a)
12 {
13   return foo1 (a);
14 }