// RUN: clang-cc -fsyntax-only -verify %s template struct A { void f() { } struct N { }; }; template struct B : A { using A::f; using A::N; using A::foo; // expected-error{{no member named 'foo'}} using A::f; // expected-error{{using declaration refers into 'A::', which is not a base class of 'B'}} }; B a; // expected-note{{in instantiation of template class 'struct B' requested here}}