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

     1  typedef struct {
     2      int *p;
     3  } *A;
     4  
     5  extern const int a[1];
     6  extern const int b[1];
     7  
     8  void foo()
     9  {
    10    A x;
    11    A y;
    12    static const int * const c[] = { b };
    13  
    14    x->p = (int*)c[0];
    15    y->p = (int*)a;
    16  }
    17