8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/packed-1.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

20 lines
152 B
C

short x1 = 17;
struct
{
short i __attribute__ ((packed));
} t;
f ()
{
t.i = x1;
if (t.i != 17)
abort ();
}
main ()
{
f ();
exit (0);
}