Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
);
};