diff options
author | Marek Polacek <polacek@redhat.com> | 2019-08-07 17:32:12 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-08-07 17:32:12 +0000 |
commit | 842901d0ca0baa25ea510089a21162a6e8ae8f29 (patch) | |
tree | 5a8afe56299429972de78b7dcff8b844ddb47e4c /gcc/gcc.c | |
parent | c822ac7daa0d0c920bbb87cdba847fed6331ba73 (diff) | |
download | gcc-842901d0ca0baa25ea510089a21162a6e8ae8f29.zip gcc-842901d0ca0baa25ea510089a21162a6e8ae8f29.tar.gz gcc-842901d0ca0baa25ea510089a21162a6e8ae8f29.tar.bz2 |
PR c++/81429 - wrong parsing of constructor with C++11 attribute.
* parser.c (cp_parser_constructor_declarator_p): Handle the scenario
when a parameter declaration begins with [[attribute]].
* g++.dg/cpp0x/gen-attrs-68.C: New test.
* g++.dg/cpp0x/gen-attrs-69.C: New test.
From-SVN: r274181
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions