re PR c++/60190 ([c++1y] ICE with invalid return type of template lambda)
Fix PR c++/60190. PR c++/60190 * parser.c (cp_parser_lambda_declarator_opt): Pop template parameter scope whenever a template parameter list has been started, independent of whether the function call operator was well-formed or not. PR c++/60190 * g++.dg/cpp1y/pr60190.C: New testcase. From-SVN: r207852
Showing
gcc/testsuite/g++.dg/cpp1y/pr60190.C
0 → 100644
Please
register
or
sign in
to comment