(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
debug/
pr39412.c
       1  /* PR debug/39412 */
       2  /* { dg-do compile } */
       3  
       4  struct S { int i; };
       5  
       6  inline void
       7  bar (const void *x, unsigned long y)
       8  {
       9    const union { struct S a[y]; } *u = x;
      10  }
      11  
      12  void
      13  foo (const void *x, unsigned long y)
      14  {
      15    bar (x, y);
      16  }