// RUN: %clang_cc1 -fsyntax-only -verify %s // C++0x N2914. struct A { template void f(T); template struct X { }; }; struct B : A { using A::f; // expected-error{{using declaration cannot refer to a template specialization}} using A::X; // expected-error{{using declaration cannot refer to a template specialization}} };