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