diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-11-14 18:37:39 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-11-14 18:37:39 +0000 |
commit | ec75414ff74e7af8c95a3490fcc05b65e3bdf4a6 (patch) | |
tree | 36e7ba862f69f85d49a24e25730b1af46c381145 /gcc/cppfiles.c | |
parent | f285d67bfe945cb4a02e3da0139aa4a171ba106a (diff) | |
download | gcc-ec75414ff74e7af8c95a3490fcc05b65e3bdf4a6.zip gcc-ec75414ff74e7af8c95a3490fcc05b65e3bdf4a6.tar.gz gcc-ec75414ff74e7af8c95a3490fcc05b65e3bdf4a6.tar.bz2 |
re PR c++/12762 (Much worse error message when using a typedef with a template arg)
PR c++/12762
* parser.c (cp_parser_enclosed_template_argument_list): New
function.
(cp_parser_template_id): Use it.
(cp_parser_simple_type_specifier): Recognize invalid template
syntax.
PR c++/12762
* g++.dg/template/error3.C: New test.
From-SVN: r73610
Diffstat (limited to 'gcc/cppfiles.c')
0 files changed, 0 insertions, 0 deletions