1// PR c++/26912 2 3struct Foo { 4 template<class T> int func() const; 5}; 6 7class Bar { 8 friend int Foo::func<int>() const; 9}; 10 11 12