diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-10-28 05:17:14 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-10-28 05:17:14 +0000 |
commit | 391c4bc5af5c7fc7aa2a6fcbdf90704fbf3f0300 (patch) | |
tree | 7dd36dec39291468ce49f6128a24f9fb8a5593fa /gcc/c-errors.c | |
parent | 0da34ce409cd62755c3546f40693ee596cffddb2 (diff) | |
download | gcc-391c4bc5af5c7fc7aa2a6fcbdf90704fbf3f0300.zip gcc-391c4bc5af5c7fc7aa2a6fcbdf90704fbf3f0300.tar.gz gcc-391c4bc5af5c7fc7aa2a6fcbdf90704fbf3f0300.tar.bz2 |
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
Diffstat (limited to 'gcc/c-errors.c')
0 files changed, 0 insertions, 0 deletions