blob: bc54ba96b6b95aa4823a9bd74256a547b153654b [file] [log] [blame]
// PR c++/34870
template <typename T>
struct Foo
{
friend void func(const Foo &) {}
};
void check(const Foo<int> & x)
{
func(x);
}