(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr109409.c
       1  /* PR c/109409 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-Wall" } */
       4  
       5  void
       6  foo (int n)
       7  {
       8    const char c[n] = "1";	/* { dg-error "variable-sized object may not be initialized except with an empty initializer" } */
       9    __builtin_printf (c);
      10  }