xref: /minix3/external/bsd/llvm/dist/clang/test/Parser/cxx-class-template-specialization.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 
3 struct A {
4   template<typename T>
5   void f();
6 };
7 class A::f<int>;
8 // expected-error@-1 {{identifier followed by '<' indicates a class template specialization but 'f' refers to a function template}}
9