Sign in
gnu
/
gcc
/
418f81eefb6540582e4818225404d4a647ad67eb
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend7.C
blob: 2962d9245314b4a35e4c2f16e41161f69a2c14df [
file
] [
log
] [
blame
]
template
<
class
T
>
void
f
(
T
);
template
<
class
U
>
class
C
{
template
<
class
T
>
friend
void
f
(
T
);
int
i
;
};
template
<
class
T
>
void
f
(
T
)
{
C
<
T
>
c
;
c
.
i
=
3
;
}
int
main
()
{
f
(
7
);
}