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
/
gh57943.cpp
blob
5a9f6f4d09f8a71224464d0fcdf4d9d9199a3f45
1
// RUN: %clang_cc1 -std=c++20 -verify %s
2
// expected-no-diagnostics
3
struct
s
{
4
template
<
typename T
>
5
requires
requires
(
T x
) {
x
.
g
(); }
6
friend
void
f
(
T
);
7
};