re PR c++/22621 (Member function overloading introduces syntax errors)
authorMark Mitchell <mark@codesourcery.com>
Sun, 2 Oct 2005 21:58:08 +0000 (21:58 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 2 Oct 2005 21:58:08 +0000 (21:58 +0000)
commit2c164de609fc58acf2a2a7f3ca16e1dcf97e99ae
tree33e4c6832f5b335decd72b62cbe10f833fc91303
parentcc86dcfb9984a1c7329ea97a1c4f5891e00d6e9b
re PR c++/22621 (Member function overloading introduces syntax errors)

PR c++/22621
* parser.c (cp_parser_template_argument): Don't turn "T::f" into
"(*this).T::f".
* pt.c (convert_nontype_argument): Remove ??? comment.

PR c++/22621
* g++.dg/template/overload5.C : New test.

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