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