Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / winline-7.c
blob239d748926d8dbe59107c50603f83e18bcec1b49
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" } */
17 /* { dg-prune-output "-Wreturn-local-addr" } */