Sign in
cobalt
/
cobalt
/
refs/heads/22.lts.stable
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Modules
/
Inputs
/
odr_hash-Friend
/
Box.h
blob: 01ab90d601c2d9c7e462d605f9fe7549bece1c54 [
file
] [
log
] [
blame
] [
edit
]
template
<
class
T
>
struct
iterator
{
void
Compare
(
const
iterator
&
x
)
{
}
friend
void
Check
(
iterator
)
{}
};
template
<
class
T
=
int
>
struct
Box
{
iterator
<
T
>
I
;
void
test
()
{
Check
(
I
);
I
.
Compare
(
I
);
}
};