aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/vla-const-1.c
blob: 4c957f3bcf577dc61950d4fa9adc8d4e0e547601 (plain)
1
2
3
4
5
6
/* Test TREE_CONSTANT VLA size: bug 27893.  */
/* Origin: Joseph Myers <joseph@codesourcery.com> */

int a;
void g(void *);
void f(void) { int b[(__SIZE_TYPE__)&a]; g(b); }