// { dg-do assemble }// Templates can be defined outside of the namespace if the have been declared// insidenamespacebar{template<typenameT>Tconstfoo(Tconst&);template<>constintfoo<int>(intconst&);}template<typenameT>Tconstbar::foo(Tconst&a){returna;}template<>constintbar::foo<int>(intconst&){return0;}