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);
}