Discussion:
C++ PATCH for c++/63309 (ICE with invalid definition of template member)
Jason Merrill
2014-10-09 18:06:43 UTC
Permalink
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.

Loading...