pr51463.C
165 Bytes
-
re PR c++/51463 ([c++0x] [4.7 Regression] ICE declaring a member function virtual and static) · e1b750d8
PR c++/51463 * decl.c (grokdeclarator): Set DECL_INITIAL of decl to error_mark_node to disallow NSDMI if declspecs->storage_class is sc_static. * parser.c (cp_parser_late_parse_one_default_arg): Return early if default_arg is error_mark_node. * g++.dg/cpp0x/pr51463.C: New test. From-SVN: r182387
Jakub Jelinek committed