//Build don't link: //Inheritance from templates which are namespace members namespace foo { template struct x { x(){} }; } class y : public foo::x {}; y r;