modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.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  }