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

     1  /* PR target/59803 */
     2  
     3  extern void baz (void) __attribute__ ((__noreturn__));
     4  struct A { int g, h; };
     5  extern struct A a;
     6  struct B { unsigned char i, j, k, l, m; };
     7  int c, d, e;
     8  static int f;
     9  
    10  void
    11  foo (void)
    12  {
    13    f = 1;
    14  }
    15  
    16  void
    17  bar (struct B *x)
    18  {
    19    x->i = e;
    20    x->k = c;
    21    x->l = d;
    22    x->j = a.h;
    23    x->m = f;
    24    if (x->i != e) baz ();
    25    if (x->k != c) baz ();
    26    if (x->j != a.h) baz ();
    27  }