summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr26865.c
blob: d9f1fe0d3a1d61fe6a3e7d04143e2c7cf6eefd99 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-O2 -std=c99" } */

void
foo (void)
{
  char *e = alloca (100); /* { dg-warning "implicit declaration|initialization makes" } */
}