In gcc/testsuite/: 2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / winline-7.c
blob19262da7c5597615e64fdc7fd764f764e913f34f
1 /* { dg-do compile } */
2 /* { dg-options "-Winline -O2" } */
4 extern void *alloca (__SIZE_TYPE__);
6 void big (void);
7 inline void *q (void) /* { dg-warning "(function not inlinable|alloca)" } */
9 return alloca (10);
11 inline void *t (void)
13 return q (); /* { dg-warning "called from here" } */