1 2 3 4 5 6 7 8 9 10 11 12 13
// { dg-do assemble } // GROUPS passed bit-fields struct S { char c; int i:8; } s; int main() { int &ir = s.i; // { dg-error "" } address of bitfield int *ip = &s.i; // { dg-error "" } address of bitfield ir = 10; }