2016-04-04 12:30:26 +00:00
|
|
|
typedef unsigned short uint16_t;
|
|
|
|
typedef unsigned char uint8_t;
|
|
|
|
|
|
|
|
typedef union Unaligned16a {
|
|
|
|
uint16_t u;
|
|
|
|
uint8_t b[2];
|
|
|
|
} __attribute__((packed)) Unaligned16a;
|
|
|
|
|
|
|
|
typedef union __attribute__((packed)) Unaligned16b {
|
|
|
|
uint16_t u;
|
|
|
|
uint8_t b[2];
|
|
|
|
} Unaligned16b;
|
|
|
|
|
2017-07-14 15:42:48 +00:00
|
|
|
extern void foo (void) __attribute__((stdcall));
|
|
|
|
void __attribute__((stdcall)) foo (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2016-04-04 12:30:26 +00:00
|
|
|
int main () { return 0; }
|