PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / winline-7.c
blob34deca42592dfc5a33c0fa8fe4f24fe3d967f024
1 /* { dg-do compile } */
2 /* { dg-options "-Winline -O2 -fgnu89-inline" } */
3 /* { dg-require-effective-target alloca } */
5 extern void *alloca (__SIZE_TYPE__);
7 void big (void);
8 inline void *q (void) /* { dg-warning "(function not inlinable|alloca)" } */
10 return alloca (10);
12 inline void *t (void)
14 return q (); /* { dg-message "called from here" } */