15 lines
300 B
C
15 lines
300 B
C
/* { dg-do compile } */
|
|
/* { dg-options "-Winline -O2" } */
|
|
|
|
extern void *alloca (__SIZE_TYPE__);
|
|
|
|
void big (void);
|
|
inline void *q (void) /* { dg-warning "(function not inlinable|alloca)" } */
|
|
{
|
|
return alloca (10);
|
|
}
|
|
inline void *t (void)
|
|
{
|
|
return q (); /* { dg-warning "called from here" } */
|
|
}
|