modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr16566-1.c (about)

     1  /* ICE with flexible arrays in non-lvalue structures.  Bug 16566
     2     (comment #3).  */
     3  
     4  struct S;
     5  
     6  struct C {
     7      int i;
     8      struct S *tab[];
     9  };
    10  
    11  struct S { struct C c; };
    12  
    13  void foo (struct S *x) {
    14    foo(((void)1, x->c).tab[0]);
    15  }