Jason Merrill
2014-10-09 18:06:43 UTC
push_template_decl handles checking that template parameter lists make
sense, but we were never calling it for a definition of a member class
of a class template. Fixed by calling it in cp_parser_class_head, where
previously we had only called it for redefinition of primary templates.
Tested x86_64-pc-linux-gnu, applying to trunk.
sense, but we were never calling it for a definition of a member class
of a class template. Fixed by calling it in cp_parser_class_head, where
previously we had only called it for redefinition of primary templates.
Tested x86_64-pc-linux-gnu, applying to trunk.