mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-13 04:29:31 +00:00
14 lines
202 B
C
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);
|
|
}
|