]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/parser.c
re PR c++/13950 ([DR176] lookup of dependent base name)
authorMark Mitchell <mark@codesourcery.com>
Tue, 3 Feb 2004 20:00:47 +0000 (20:00 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 3 Feb 2004 20:00:47 +0000 (20:00 +0000)
commit4bfb8bbaf6294daa459f1f0d8216796001998afd
tree8998fc588fa4811e7aa6f0b5a481a2993a8da7fb
parenta8f0f22ea9748a6eeb815ca37cfeb71ad92fc1a3
re PR c++/13950 ([DR176] lookup of dependent base name)

PR c++/13950
* parser.c (cp_parser_class_name): Robustify.

PR c++/13970
* parser.c (cp_parser_cache_group): Do not consume the EOF token.

PR c++/13950
* g++.dg/template/lookup4.C: New test.

PR c++/13970
* g++.dg/parse/error14.C: New test.

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