https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65721
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Wed Apr 22 20:52:57 2015 New Revision: 222338 URL: https://gcc.gnu.org/viewcvs?rev=222338&root=gcc&view=rev Log: PR c++/65721 * name-lookup.c (do_class_using_decl): Complain about specifying the current class even if there are dependent bases. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/lookup/using55.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/name-lookup.c