diff options
author | Mark Mitchell <mark@codesourcery.com> | 2006-12-08 06:27:22 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2006-12-08 06:27:22 +0000 |
commit | 9ba7a2f2926541d4db21c6df15acc783b73e1f4f (patch) | |
tree | 7ba5569ae3e14325934f7a9e8cdf809c494d4870 /gcc/config/m32c/m32c.h | |
parent | cf71109bd6749b28e07670d2cf8eb7d3c216f531 (diff) | |
download | gcc-9ba7a2f2926541d4db21c6df15acc783b73e1f4f.zip gcc-9ba7a2f2926541d4db21c6df15acc783b73e1f4f.tar.gz gcc-9ba7a2f2926541d4db21c6df15acc783b73e1f4f.tar.bz2 |
re PR c++/29732 (ICE on invalid friend declaration)
PR c++/29732
* cp-tree.h (DECL_USE_TEMPLATE): Mention partial specializations.
(explicit_class_specialization_p): Declare.
* pt.c (explicit_class_specialization_p): New function.
* parser.c (cp_parser_init_declarator): Check correct number of
template parameters for in-class function definitions.
(cp_parser_check_declrator_template_parameters): Stop looking for
template classes when we find an explicit specialization.
PR c++/29732
* g++.dg/template/crash65.C: New test.
* g++.dg/template/spec16.C: Tweak error markers.
From-SVN: r119649
Diffstat (limited to 'gcc/config/m32c/m32c.h')
0 files changed, 0 insertions, 0 deletions