summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/vla-const-2.c
blob: 913a730b458fcaa57ed11bc4d865c3f8df60bcca (plain)
1
2
3
4
/* Test TREE_CONSTANT VLA size: bug 27893.  */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
void g(void *);
void f(void) { int b[1/0]; g(b); }