1 // RUN: %clang_cc1 -fsyntax-only -verify %s
5 template<class T
> void f(T
);
6 template<class T
> struct X
{ };
10 using A::f
<double>; // expected-error{{using declaration cannot refer to a template specialization}}
11 using A::X
<int>; // expected-error{{using declaration cannot refer to a template specialization}}