// { dg-do compile { target c++11 } } struct A { int i : 1; }; int main() { A a; static_cast<int&&>(a.i); }