https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65721
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Thu Apr 23 13:21:11 2015 New Revision: 222366 URL: https://gcc.gnu.org/viewcvs?rev=222366&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-4_9-branch/gcc/testsuite/g++.dg/lookup/using55.C Modified: branches/gcc-4_9-branch/gcc/cp/ChangeLog branches/gcc-4_9-branch/gcc/cp/name-lookup.c