1 // { dg-do compile { target c++11 } } 2 3 struct A 4 { 5 int i : 1; 6 }; 7 main()8 int main() 9 { 10 A a; 11 static_cast<int&&>(a.i); 12 } 13