tcc-65816/test/tests/20031211-1.c
2017-06-09 13:52:12 +02:00

14 lines
172 B
C

struct a { unsigned int bitfield : 1; };
unsigned int x;
main()
{
struct a a = {0};
x = 0xbeef;
a.bitfield |= x;
if (a.bitfield != 1)
abort ();
exit (0);
}