Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend4.C
blob: a1b8d32f1a2d5419b02e3b7eb84584231b29a546 [
file
] [
log
] [
blame
]
// { dg-do run }
class
C
{
template
<
class
T
>
friend
void
f
(
T
);
int
i
;
};
template
<
class
T
>
void
f
(
T
)
{
C c
;
c
.
i
=
3
;
}
int
main
()
{
f
(
7
);
}