diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-12-03 19:05:12 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-12-03 19:05:12 +0000 |
commit | ee43dab5e00224b3c0ec40112e65802c966e3343 (patch) | |
tree | 706e464c3361e136a06a7c457742151daf6c4595 /gcc/c-cppbuiltin.c | |
parent | bee6ab3e7241334f1a3550c4e0ac9fe8be715a6b (diff) | |
download | gcc-ee43dab5e00224b3c0ec40112e65802c966e3343.zip gcc-ee43dab5e00224b3c0ec40112e65802c966e3343.tar.gz gcc-ee43dab5e00224b3c0ec40112e65802c966e3343.tar.bz2 |
re PR c++/10771 (Unreadable error message for illegal specialization)
PR c++/10771
* parser.c (cp_parser_check_for_invalid_template_id): New
function.
(cp_parser_simple_type_specifier): Use it.
(cp_parser_elaborated_type_specifier): Likewise.
(cp_parser_class_head): Likewise.
PR c++/10771
* g++.dg/template/error5.C: New test.
From-SVN: r74239
Diffstat (limited to 'gcc/c-cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions