1 // PR c++/51868
2 // { dg-do compile { target c++11 } }
3 
4 struct A {
AA5   A() {}
AA6   A(const A&) {}
AA7   A(A&&) {}
8 };
9 
10 struct B {
11   A a;
12   int f : 1;
13 };
14 
func()15 B func() {
16   return B();
17 }
18