Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
friend20.C
blob: 8ef23a6717914eb9e83f8e0628801d00a5fe26c5 [
file
] [
log
] [
blame
]
// PR c++/80830
template
<int>
class
a
;
class
b
{
friend
int
operator
>>
(
int
,
b
);
};
template
<
int
c
>
int
&
operator
>>
(
int
&,
a
<c>
&);
template
<
int
=
3
>
class
a
{
friend
int
&
operator
>><>
(
int
&,
a
&);
a
<>
d
()
{
return
a
<>();
}
};