diff options
author | Adam Butcher <adam@jessamine.co.uk> | 2014-02-18 21:07:48 +0000 |
---|---|---|
committer | Adam Butcher <abutcher@gcc.gnu.org> | 2014-02-18 21:07:48 +0000 |
commit | b19fd0fd71f4ffb3f01d9b4a6333b38744e13c64 (patch) | |
tree | 24a76ab51571fc0f1b3a8c4ade8ab33c9fa88478 /libsanitizer | |
parent | 223cdd1548cadbcf2ae3eee4931e569b4c603f96 (diff) | |
download | gcc-b19fd0fd71f4ffb3f01d9b4a6333b38744e13c64.zip gcc-b19fd0fd71f4ffb3f01d9b4a6333b38744e13c64.tar.gz gcc-b19fd0fd71f4ffb3f01d9b4a6333b38744e13c64.tar.bz2 |
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
Diffstat (limited to 'libsanitizer')
0 files changed, 0 insertions, 0 deletions