blob: 2361509a096acae2027d74ec4dda6072da5216fb [file] [log] [blame]
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);
}