2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[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" } */