diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-12-26 11:16:01 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-12-26 11:16:01 +0100 |
commit | 7cd268ad6a6f71877744539d17ed53e752774bfa (patch) | |
tree | 3a55ec188547087fe3db9a81420da7db66097d60 /gcc/fortran/iresolve.c | |
parent | ae2bb2a6434d3177b94f78ac707f606ee65f0360 (diff) | |
download | gcc-7cd268ad6a6f71877744539d17ed53e752774bfa.zip gcc-7cd268ad6a6f71877744539d17ed53e752774bfa.tar.gz gcc-7cd268ad6a6f71877744539d17ed53e752774bfa.tar.bz2 |
re PR c++/92438 (Function declaration parsed incorrectly with `-std=c++1z`)
PR c++/92438
* parser.c (cp_parser_constructor_declarator_p): If open paren
is followed by RID_ATTRIBUTE, skip over the attribute tokens and
try to parse type specifier.
* g++.dg/ext/attrib61.C: New test.
From-SVN: r279736
Diffstat (limited to 'gcc/fortran/iresolve.c')
0 files changed, 0 insertions, 0 deletions