// { dg-do assemble } // 980827 bkoz // template parameter redeclaration bugs, part two: // template template params and expanded template non-type parms // 14.1 Template parameters // p 13 // The scope of a template-parameter extens from its point of // declartion until the end of its template. In particular, a // template-parameter can be used in the declaration of subsequent // template-parameters and their default arguments. // 14.6.1 Locally declared names // p 4 // A template-parameter shall not be redeclared within its scope // (including nested scopes). A template-parameter shall not have the // same name as the template name. // 14 // declared friend template (v3, template type parameters) template // { dg-error "" } .* class Xfourteen { protected: T4 value; public: Xfourteen(T4 init): value(init) {} template