PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / vla-const-1.c
blobc7c1dbee5232897b27498700f01c8db72eb270a9
1 /* Test TREE_CONSTANT VLA size: bug 27893. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-require-effective-target alloca } */
4 int a;
5 void g(void *);
6 void f(void) { int b[(__SIZE_TYPE__)&a]; g(b); }