1// PR c++/8355 2 3namespace Foo { template <typename T> void foo();} 4struct Bar 5{ 6 friend void Foo::foo<int>(); 7}; 8