(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr41470.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-fexceptions" } */
       3  /* { dg-require-effective-target alloca } */
       4  /* { dg-require-effective-target exceptions } */
       5  
       6  void cf (void *);
       7  
       8  void *
       9  af (void *a)
      10  {
      11    return a;
      12  }
      13  void
      14  bf (void)
      15  {
      16    void *p;
      17    {
      18      int i = 1;
      19      char v[i];
      20      p = af (v);
      21    }
      22    cf (p);
      23  }