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

     1  short x1 = 17;
     2  
     3  struct
     4  {
     5    short i __attribute__ ((packed));
     6  } t;
     7  
     8  f ()
     9  {
    10    t.i = x1;
    11    if (t.i != 17)
    12      abort ();
    13  }
    14  
    15  main ()
    16  {
    17    f ();
    18    exit (0);
    19  }