(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr83044.c
       1  /* PR tree-optimization/83044 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-Wall -std=gnu89 -O2" } */
       4  
       5  struct A { int b[0]; };
       6  struct B { struct A c[0]; };
       7  void bar (int *);
       8  
       9  void
      10  foo (void)
      11  {
      12    struct B d;
      13    bar (d.c->b);
      14  }