tcc-65816/test/tests/strct-pack-2.c
2017-06-09 13:52:12 +02:00

14 lines
202 B
C

typedef struct
{
short a __attribute__ ((aligned (2),packed));
short *ap[2] __attribute__ ((aligned (2),packed));
} A;
main ()
{
short i, j = 1;
A a, *ap = &a;
ap->ap[j] = &i;
exit (0);
}