PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / nested-func-6.c
blob3bae4db352e72bad568906fa1adf66cf4695f9ae
1 /* { dg-do compile } */
2 /* { dg-options "-O -Winline" } */
4 static inline int foo1 (int a)
5 { /* { dg-bogus "function not inlinable" } */
6 void bar1 (int b)
7 {}
8 return a;
11 int foo2 (int a)
13 return foo1 (a);