re PR c++/15503 (nested template problem)
authorGiovanni Bajo <giovannibajo@gcc.gnu.org>
Sun, 6 Jun 2004 02:08:18 +0000 (02:08 +0000)
committerGiovanni Bajo <giovannibajo@gcc.gnu.org>
Sun, 6 Jun 2004 02:08:18 +0000 (02:08 +0000)
commit8a83a69363442100aa9435199e5d385716658255
tree39d1906c627b576837b2b1315db0bf6b3a081b79
parentad94c84603832382465e4e1ed0e10b5595a30a66
re PR c++/15503 (nested template problem)

PR c++/15503
* parser.c (cp_parser_mem_initializer_id): Gracefully reject
'typename', and accept 'template'.

PR c++/15503
* g++.dg/template/meminit2.C: New test.

From-SVN: r82660
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/meminit2.C [new file with mode: 0644]