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
Showing
gcc/testsuite/g++.dg/cpp2a/concepts5.C
0 → 100644
Please
register
or
sign in
to comment