1 // PR c++/46369
2 // { dg-do compile { target c++11 } }
3 
4 struct A
5 {
6   unsigned i : 1;
7 };
8 
f()9 constexpr A f() { return { 1 }; }
10 constexpr bool b = (f().i == 1);
11