(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
vla-3.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-std=gnu99" } */
       3  /* { dg-require-effective-target alloca } */
       4  
       5  /* This used to crash as we did not preserve the correct type
       6     for __SIZE_TYPE__. See PR22439. */
       7  
       8  char foo(__SIZE_TYPE__ n)
       9  {
      10      char c[1][n];
      11      return c[0][0];
      12  }