cxx-class-template-specialization.cpp 243 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 // RUN: %clang_cc1 -fsyntax-only -verify %s struct A { template<typename T> void f(); }; class A::f<int>; // expected-error@-1 {{identifier followed by '<' indicates a class template specialization but 'f' refers to a function template}}