LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vla-21.c
bloba39ae0b426660fe45f038942a8f83993d20242ee
1 /* Type names for VLAs should be allowed outside functions if the size
2 is not evaluated. PR 39581. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=c99 -pedantic-errors" } */
6 int a;
7 int b = sizeof (int (*)[a]);