parser.c
1.15 MB
The source could not be displayed because it is larger than 1 MB.
You can
load it anyway or download it
instead.
PR c++/79535 * cp-tree.h (maybe_reject_flexarray_init): Declare. * init.c (maybe_reject_flexarray_init): No longer static. Add check for current_function_decl. * parser.c (cp_parser_late_parse_one_default_arg): Reject a default mem-initializer for a flexible array. * g++.dg/ext/flexary23.C: New test. From-SVN: r245641