OSDN Git Service

PR middle-end/35456
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / packed-1.c
1 short x1 = 17;
2
3 struct
4 {
5   short i __attribute__ ((packed));
6 } t;
7
8 f ()
9 {
10   t.i = x1;
11   if (t.i != 17)
12     abort ();
13 }
14
15 main ()
16 {
17   f ();
18   exit (0);
19 }