2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / strct-pack-2.c
blobbe76c764521b3e9d922bee99276a97d3aaaf21c7
1 typedef struct
3 short a __attribute__ ((aligned (2),packed));
4 short *ap[2] __attribute__ ((aligned (2),packed));
5 } A;
7 main ()
9 short i, j = 1;
10 A a, *ap = &a;
11 ap->ap[j] = &i;
12 exit (0);