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] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
invalid-template-declaration.cpp
blob
fda147520cca824f8a22be25aae87473d3b6ced5
1
// RUN: %clang_cc1 %s -verify -fsyntax-only
2
// PR99933
3
4
struct
S
{
5
template
<
typename
>
int
i
;
// expected-error {{non-static data member 'i' cannot be declared as a template}}
6
};