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
/
PR6562.cpp
blob
144fde68b1786064784bba841b248a719834acfc
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
struct
X
{ ~
X
(); };
5
template
<
typename T
>
6
struct
A
{
7
struct
B
{
X x
; };
8
struct
C
:
public
B
{
9
C
() :
B
() { }
10
};
11
};