diff options
author | Marek Polacek <polacek@redhat.com> | 2018-08-21 18:37:23 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2018-08-21 18:37:23 +0000 |
commit | 774fb6c4eb205eaf9d3b6667e7de9c90cc1784ad (patch) | |
tree | 1eda2ec33c05aeb27bb7e881205a0ff36e5efab1 /libgfortran/io/async.c | |
parent | 55082d81a0cb409d2c1a54889bbed72b369c4da8 (diff) | |
download | gcc-774fb6c4eb205eaf9d3b6667e7de9c90cc1784ad.zip gcc-774fb6c4eb205eaf9d3b6667e7de9c90cc1784ad.tar.gz gcc-774fb6c4eb205eaf9d3b6667e7de9c90cc1784ad.tar.bz2 |
re PR c++/86499 (lambda-expressions with capture-default are allowed at namespace scope)
PR c++/86499
* parser.c (cp_parser_lambda_introducer): Give error if a non-local
lambda has a capture-default.
* g++.dg/cpp0x/lambda/lambda-non-local.C: New test.
* g++.dg/cpp0x/lambda/lambda-this10.C: Adjust dg-error.
From-SVN: r263749
Diffstat (limited to 'libgfortran/io/async.c')
0 files changed, 0 insertions, 0 deletions