modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/pr55851.c (about)

     1  /* PR middle-end/55851 */
     2  /* { dg-require-effective-target alloca } */
     3  
     4  enum { A = 1UL, B = -1UL } var = A;
     5  void foo (char *);
     6  
     7  void
     8  test (void)
     9  {
    10    char vla[1][var];
    11    vla[0][0] = 1;
    12    foo (&vla[0][0]);
    13  }