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