1 // DR 1402 2 // { dg-do compile { target c++11 } } 3 4 template <class T> T&& move(T& t); 5 6 struct A 7 { 8 A(const A&); 9 }; 10 11 struct B 12 { 13 B(B&&); 14 }; 15 16 struct C 17 { 18 A a; 19 B b; 20 }; 21 22 extern C c1; 23 C c2(move(c1)); 24