parser.c
439 KB
-
re PR c++/10158 (ICE with templates and friends) · 649fc72d
cp: PR c++/10158 * parser.c (cp_parser_function_definition): Set DECL_INITIALIZED_IN_CLASS for members. * pt.c (instantiate_decl): Only reduce the template args for friends that are not defined in class. testsuite: PR c++/10158 * g++.dg/template/friend18.C: New test. From-SVN: r64920
Nathan Sidwell committed