blob: d4fecd95ed42d7a603f02c037ed99f8c444d4dec [file] [log] [blame]
// PR c++/50344
// { dg-options "" }
template <typename T> class C
{
friend T;
int i;
};
struct S
{
int f()
{
C<const S> c;
return c.i;
}
};