// RUN: %clang_cc1 -fsyntax-only -verify %s
;
;
void
// A<int>::f must be defined somewhere
// template<> not used for a member of an // explicitly specialized class template
void
;
// template<> also not used when defining a member of // an explicitly specialized member class
void
;
void A<char>::C<U>
;
void // expected-error{{no function template matches function template specialization 'f'}}
;
void A<short>::C<U> // expected-error{{template parameter list matching the non-templated nested type 'A<short>' should be empty ('template<>')}}