blob: f94a85964a7833baf5c3322910e26dc9dc759352 [file] [log] [blame]
Richard Trieu30f93852013-06-19 22:25:01 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3struct A {
4 template<typename T>
5 void f();
6};
7class A::f<int>;
8// expected-error@-1 {{identifier followed by '<' indicates a class template specialization but 'f' refers to a function template}}