parser.c
1.26 MB
-
re PR c++/89640 (g++ chokes on lambda with __attribute__) · 628be4ef
PR c++/89640 * parser.c (cp_parser_decl_specifier_seq): Don't parse attributes if CP_PARSER_FLAGS_ONLY_MUTABLE_OR_CONSTEXPR. * g++.dg/cpp1z/attr-lambda1.C: New test. * g++.dg/ext/attr-lambda2.C: New test. From-SVN: r277741
Jakub Jelinek committed