Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
99c62cefb02726e7c082aef15a350466e6a01aeb
/
.
/
test
/
Parser
/
cxx-class-template-specialization.cpp
blob: f94a85964a7833baf5c3322910e26dc9dc759352 [
file
] [
log
] [
blame
]
// 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}}