PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / c99-vla-1.c
blob4501852066c40be58118f99cb24517699df2259e
1 /* Origin: PR 3467 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
4 /* { dg-require-effective-target alloca } */
6 void
7 tdef (int n)
9 typedef int A[n]; /* { dg-bogus "forbids variable length array" } */
10 A a;
11 A *p;
12 p = &a;