Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/strct-pack-2.c

raw
1 void abort (void);
2 void exit (int);
3
4 typedef struct
5 {
6 short a __attribute__ ((aligned (2),packed));
7 short *ap[2] __attribute__ ((aligned (2),packed));
8 } A;
9
10 int
11 main (void)
12 {
13 short i, j = 1;
14 A a, *ap = &a;
15 ap->ap[j] = &i;
16 exit (0);
17 }