repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git]
/
clang
/
test
/
Parser
/
cxx-class-template-specialization.cpp
blob
f94a85964a7833baf5c3322910e26dc9dc759352
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}}