re PR c++/20679 (Parse error when accessing attributes of an inner class. Enclosing...
authorMark Mitchell <mark@codesourcery.com>
Mon, 4 Apr 2005 19:11:07 +0000 (19:11 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 4 Apr 2005 19:11:07 +0000 (19:11 +0000)
commitd58a2b8348d629d857d93297ba944e903d2f7115
treed56abd9253ed40a96a871f0007e1509795bfc66b
parentb89361c670cc86ff43dcf87de2b293c19b8dce35
re PR c++/20679 (Parse error when accessing attributes of an inner class. Enclosing class is template and have methods with the same name.)

PR c++/20679
* parser.c (cp_parser_template_name): Fix thinko.

PR c++/20679
* g++.dg/template/overload4.C: New test.

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