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
/
SemaTemplate
/
gh57362.cpp
blob
87bd8da0a91dadba7685b0e3afca650f6100b970
1
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++20 -Wpre-c++17-compat %s
2
// expected-no-diagnostics
3
4
namespace
GH57362
{
5
template
<
int
num
>
6
class
TemplateClass
{};
7
8
template
<
TemplateClass nttp
>
// ok, no diagnostic expected
9
void
func
() {}
10
}