1 // PR c++/90320 2 // { dg-do compile { target c++11 } } 3 4 struct B { }; 5 6 struct M : B { 7 M() = default; 8 template <typename T> explicit M(T&&) = delete; 9 }; 10 11 struct V { 12 V(B); 13 }; 14 15 M m; 16 V v = m; 17