blob: edb9d62335914d21da815469583a87d60b2baaa2 [file] [log] [blame]
// { dg-do run }
class C
{
template <class T>
friend void f(T)
{
C c;
c.i = 3;
}
int i;
};
int main()
{
f(C());
}