PR c++/77549
commit8cc087738b5b8c66eb33d5ade5f89d7497b59902
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Sep 2016 21:55:10 +0000 (14 21:55 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Sep 2016 21:55:10 +0000 (14 21:55 +0000)
tree9a80734f757b355337587250a198b1c47ac07094
parent7153717fe683386fdc09a729b73cf3867202322a
PR c++/77549
* name-lookup.c (consider_binding_level): Look through TREE_LIST
and OVERLOAD.

* g++.dg/lookup/pr77549.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240148 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/pr77549.C [new file with mode: 0644]