// PR c++/46369 // { dg-options -std=c++0x } struct A { unsigned i : 1; }; constexpr A f() { return { 1 }; } constexpr bool b = (f().i == 1);