* Patrick Palka [2025-03-05 11:15:06]:
> On Tue, 4 Mar 2025, Patrick Palka wrote:
>
> > On Sun, 2 Mar 2025, Da Xie wrote:
> >
> > > Add check for constrained auto type specifier in function declaration or
> > > function type declaration with trail
:
* g++.dg/cpp2a/concepts-pr100589.C: New test.
Signed-off-by: Da Xie
---
gcc/cp/decl.cc | 13 +
gcc/testsuite/g++.dg/cpp2a/concepts-pr100589.C | 9 +
2 files changed, 22 insertions(+)
create mode 100644 gcc/testsuite/g++.dg/cpp2a/concepts
with
constrained auto type specifier and trailing return types.
gcc/testsuite/ChangeLog:
* g++.dg/other/pr100589.C: New test.
Signed-off-by: Da Xie
---
gcc/cp/decl.cc| 7 +++
gcc/testsuite/g++.dg/other/pr100589.C | 7 +++
2 files changed, 14