blob: 394d035017af774cf5dc6c936a09e951b9fc6a5b [file] [log] [blame]
// { 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;
}