modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/vla-const-1.c (about)

     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); }