16 lines
168 B
C
16 lines
168 B
C
struct A {
|
|
union {
|
|
struct {
|
|
int x;
|
|
};
|
|
struct {
|
|
long y;
|
|
};
|
|
};
|
|
};
|
|
|
|
void fun(struct A * a) {
|
|
a->x = 0;
|
|
a->y = 0x0102030405060708ULL;
|
|
}
|