1 2 3 4 5 6 7 8 9 10 11 12 13
// PR c++/37819 // { dg-do compile } struct A { unsigned int a : 1; }; bool foo (A *x, A *y) { x->a = y ? y->a : true; }