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

     1  /* { dg-do compile } */
     2  /* From a failure after the global ccp pass.  */
     3  typedef struct
     4  {
     5    char n[129];
     6  } A;
     7  
     8  const A C = {
     9    0,
    10    0
    11  };
    12  
    13  extern const A *const B;
    14  
    15  void bar(const char *);
    16  
    17  void foo ()
    18  {
    19    bar (B->n);
    20  }
    21  
    22  const A *const B = &C;