// { dg-do compile } // Copyright (C) 2003 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 1 Aug 2003 // PR 9447. Using decls in reopened template classes. template struct A { int i; }; template struct B : public A { using A::i; int foo() const; }; struct C {}; template int B::foo() const { return i; }