re PR c++/8856 (g++ accepts invalid conversion-function-id)
authorGiovanni Bajo <giovannibajo@gcc.gnu.org>
Thu, 15 Jan 2004 01:39:58 +0000 (01:39 +0000)
committerGiovanni Bajo <giovannibajo@gcc.gnu.org>
Thu, 15 Jan 2004 01:39:58 +0000 (01:39 +0000)
commit0d9564747f44c5d650c3dad74097c063f9a12ad3
treeea278fe76b46ba3f98ccb5652e3cfb5a9713bd49
parent38bdcc805a4d2d85df84faa09b466ecff7cb832b
re PR c++/8856 (g++ accepts invalid conversion-function-id)

PR c++/8856
* parser.c (cp_parser_template_name): Don't try to parse a
conversion-function-id, as it cannot be a template-name.
(cp_parser_simple_type_specifier): Check for invalid template-ids
even after a built-in type.

From-SVN: r75897
gcc/cp/ChangeLog
gcc/cp/parser.c