Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
friend13.C
blob: d716247a5da8ec03db768f393f13745bd41ec1d6 [
file
] [
log
] [
blame
]
// PR c++/90572
template
<
typename
T
>
struct
C
{
friend
C
(
T
::
fn
)();
friend
C
(
T
::
fn
)(
int
);
friend
C
(
T
::
fn
)(
int
,
int
);
};
struct
X
{
};
template
<
typename
T
>
struct
B
{
friend
X
(
T
::
fn
)();
friend
X
(
T
::
fn
)(
int
);
friend
X
(
T
::
fn
)(
int
,
int
);
};