diff options
author | Andrew Sutton <asutton@lock3software.com> | 2019-10-23 13:05:32 +0000 |
---|---|---|
committer | Andrew Sutton <asutton@gcc.gnu.org> | 2019-10-23 13:05:32 +0000 |
commit | 07c9f0961d540e2cb63eb2326e673b13d1df4a26 (patch) | |
tree | 2b9aaf8e126d6b731f3379b23cc263f78ddbad94 /gcc/coverage.c | |
parent | 82e8e335f917b9ce40801838c06f7945cf88da43 (diff) | |
download | gcc-07c9f0961d540e2cb63eb2326e673b13d1df4a26.zip gcc-07c9f0961d540e2cb63eb2326e673b13d1df4a26.tar.gz gcc-07c9f0961d540e2cb63eb2326e673b13d1df4a26.tar.bz2 |
Fix a bug with type constraints in constructors.
gcc/cp/
* parser.c (cp_parser_constructor_declarator_p): Pass an empty
decl-specifier-seq to make sure we parse type constraints as part
of a type-specifier.
gcc/testsuite/
* g++.dg/cpp2a/concepts5.C: New test.
From-SVN: r277323
Diffstat (limited to 'gcc/coverage.c')
0 files changed, 0 insertions, 0 deletions