tcc-65816/test/tests/packed-1.c
2017-06-09 13:52:12 +02: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);
}