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
/
Modules
/
Inputs
/
odr_hash-Friend
/
Box.h
blob
01ab90d601c2d9c7e462d605f9fe7549bece1c54
1
template
<
class
T
>
2
struct
iterator
{
3
void
Compare
(
const
iterator
&
x
) { }
4
friend
void
Check
(
iterator
) {}
5
};
6
7
template
<
class
T
=
int
>
struct
Box
{
8
iterator
<
T
>
I
;
9
10
void
test
() {
11
Check
(
I
);
12
I
.
Compare
(
I
);
13
}
14
};