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