3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 14 Nov 2000 <nathan@codesourcery.com>
6 // We rejected using decls bringing in functions from a base which would hide a
7 // nested class of the same name, but only if we had no functions by that name
8 // already. Also, we failed to find that using declaration during lookup. Also
9 // we failed to reject using declarations which matched the constructor name.
34 void foo (B *bp, C* cp)
42 using A::D; // { dg-error "" } names constructor