lambda-attr2.C
156 Bytes
-
PR c++/60503 - wrong lambda attribute syntax. · c24c8a4b
This patch fixes two issues with lambda attribute handling: First, it was in the wrong place in the grammar. Second, it was treating attributes as applying to the whole declaration rather than to the function type, as specified by the standard. * parser.c (cp_parser_lambda_declarator_opt): Fix attribute handling. From-SVN: r265787
Jason Merrill committed