re PR c++/35650 (Can't bind ref-to-function through using-decl. in namespace)
authorJakub Jelinek <jakub@redhat.com>
Tue, 29 Apr 2008 08:58:20 +0000 (10:58 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 29 Apr 2008 08:58:20 +0000 (10:58 +0200)
commit58627576a491184e918c0e1d49966ad316b1ecd8
treeab6d4a8e41ed5cb9b58a5c6347b38597242b2509
parentf2be060fd3c04b05c22f3c75c1e32f5b1c7a0f43
re PR c++/35650 (Can't bind ref-to-function through using-decl. in namespace)

PR c++/35650
* parser.c (cp_parser_lookup_name): Look through single function
OVERLOAD.

* g++.dg/init/ref17.C: New test.

From-SVN: r134788
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/ref17.C [new file with mode: 0644]