2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[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); }