OSDN Git Service

PR rtl-optimization/42889
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / winline-7.c
1 /* { dg-do compile } */
2 /* { dg-options "-Winline -O2" } */
3
4 extern void *alloca (__SIZE_TYPE__);
5
6 void big (void);
7 inline void *q (void) /* { dg-warning "(function not inlinable|alloca)" } */
8 {
9         return alloca (10);
10 }
11 inline void *t (void)
12 {
13         return q ();             /* { dg-warning "called from here" } */
14 }