https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110688
Bug ID: 110688 Summary: problem with templates typename Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: irip at qq dot com Target Milestone: --- Test cases such as: template <class P> struct S01 { struct P::template T<1> m; }; Compiler error: declaration does not declare anything [-fpermissive] The C++ standard allows class templates to be declared without the need for typename to refer to the type of an unknown materialized member