]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/parser.c
re PR c++/17829 (wrong error: call of overloaded function is ambiguous)
authorNathan Sidwell <nathan@gcc.gnu.org>
Tue, 5 Oct 2004 16:08:02 +0000 (16:08 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 5 Oct 2004 16:08:02 +0000 (16:08 +0000)
commit89d594a24d75b48db60e6dcebf5945686618361b
treef51e5219a6b3d3d36d4714660d7207c65c66ca54
parent370f7a47bebfc5e52df1caa262d47e553041912b
re PR c++/17829 (wrong error: call of  overloaded function is ambiguous)

cp:
PR c++/17829
* parser.c (cp_parser_postfix_expression): Inhibit Koenig when
unqualified lookup finds a member function.
testsuite:
PR c++/17829
* g++.dg/lookup/koenig4.C: New.

From-SVN: r88558
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/koenig4.C [new file with mode: 0644]