(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
pr33382.c
       1  struct Foo {
       2    int i;
       3    int j[];
       4  };
       5  
       6  struct Foo x = { 1, { 2, 0, 2, 3 } };
       7  
       8  int foo(void)
       9  {
      10    x.j[0] = 1;
      11    return x.j[1];
      12  }
      13  
      14  extern void abort(void);
      15  
      16  int main()
      17  {
      18    if (foo() != 0)
      19      abort();
      20    return 0;
      21  }