re PR c++/3902 ([parser] ambiguous 8.2/7)
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 28 Jan 2003 17:36:11 +0000 (17:36 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 28 Jan 2003 17:36:11 +0000 (17:36 +0000)
commitf2ce60b88d09c376e9862b78e5d37045b2e92351
tree6b16cc4f776bde31d9b1c094a319842c484192b3
parentf42aadd8561dc4c3da4843536a5f9a0af142c26d
re PR c++/3902 ([parser] ambiguous 8.2/7)

cp:
PR c++/3902
* parser.c (cp_parser_decl_specifier_seq): Cannot have constructor
inside a declarator.
testsuite:
PR c++/3902
* g++.dg/parse/template5.C: New test.

From-SVN: r61987
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/template5.C [new file with mode: 0644]