re PR c++/17435 (Binding a temporary of derived type to reference of base)
PR c++/17435 * call.c (convert_like_real): Fix formatting. (initialize_reference): When binding a temporary to a base class, ensure that the nominal copy made is to the derived class, not the base class. PR c++/18140 * parser.c (cp_parser_next_token_ends_template_argument_p): Do not include ">>". PR c++/17435 * g++.dg/init/ref12.C: New test. PR c++/18140 * g++.dg/template/shift1.C: New test. * g++.dg/template/error10.C: Adjust error markers. From-SVN: r89738
Showing
gcc/testsuite/g++.dg/init/ref12.C
0 → 100644
gcc/testsuite/g++.dg/template/shift1.C
0 → 100644
Please
register
or
sign in
to comment