PR c++/65721
commitc26aa50a307b89a3d812d442a61b13366cadbed0
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Apr 2015 15:29:34 +0000 (14 15:29 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Apr 2015 15:29:34 +0000 (14 15:29 +0000)
treef9ada431677cd0ac0ee688c4c08a73eaee87b231
parentee70a09fe4b8312c5005e4109a6cb5c4c11c739c
PR c++/65721
* name-lookup.c (do_class_using_decl): Complain about specifying
the current class even if there are dependent bases.

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