concepts5.C
389 Bytes
-
Fix a bug with type constraints in constructors. · 07c9f096
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
Andrew Sutton committed