5 #define offsetof(v, mbr) ((unsigned int)&((typeof(v) *)0)->mbr)
9 ( (unsigned int)&v + offsetof(v, i) ) \
13 typedef struct __tag_ABC
{
21 //_Pragma ("GCC error \"[__LINENO__] [__DATE__ __TIME__] xxxxxxxxxxx.\"");
24 extern int xxx_func (void);
26 int aaa (void), abc_func1 (void);
50 printf("(unsigned int)&v = %x\n", (unsigned int)&var
);
51 printf("offsetof(v, i) = %d\n", offsetof(var
, i
));
52 printf("var.i = %d\n", V(var
, i
));
54 printf("xxx = %d\n", xxx
);
55 printf("xxx = %d\n", xxx
);
56 printf("xxx = %d\n", xxx
);
57 printf("xxx = %d\n", xxx
);
58 printf("xxx = %d\n", xxx
);