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