modernc.org/ccgo/v3@v3.16.14/lib/testdata/tcc-0.9.27/tests/tests2/82_attribs_position.c (about)

     1  typedef unsigned short uint16_t;
     2  typedef unsigned char uint8_t;
     3  
     4  typedef union Unaligned16a {
     5    uint16_t u;
     6    uint8_t b[2];
     7  } __attribute__((packed)) Unaligned16a;
     8  
     9  typedef union __attribute__((packed)) Unaligned16b {
    10    uint16_t u;
    11    uint8_t b[2];
    12  } Unaligned16b;
    13  
    14  extern void foo (void) __attribute__((stdcall));
    15  void __attribute__((stdcall)) foo (void)
    16  {
    17  }
    18  
    19  int main () { return 0; }