summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/vla-const-1.c
blob: 6acc3d83050b685c54c37b6eb0edbff1607c31db (plain)
1
2
3
4
5
/* 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); }