autoptr1.C
381 Bytes
-
re PR c++/35773 (auto_ptr references don't convert) · 46225e26
PR c++/35773 * cp/call.c (build_user_type_conversion_1): Represent second step of copy-init with an rvalue conversion. (convert_like_real) [ck_user]: Don't implicitly add it here. * g++.dg/overload/autoptr1.C: New. From-SVN: r134398
Jason Merrill committed