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