* c-c++-common/Wsizeof-pointer-memaccess1.c: Require alloca.
[official-gcc.git] / gcc / testsuite / gcc.dg / winline-7.c
blobe3ac1296583fd48b5cb2b5d0bff92c51f18a1984
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-warning "called from here" } */