https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105067

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>:

https://gcc.gnu.org/g:23e57329c6516a81a8d3eb21b365ca8a0ec0c41b

commit r12-7861-g23e57329c6516a81a8d3eb21b365ca8a0ec0c41b
Author: Patrick Palka <ppa...@redhat.com>
Date:   Mon Mar 28 14:15:39 2022 -0400

    c++: reject concept w/ multiple tparm lists [PR105067]

    We weren't rejecting a concept declared with multiple template
    parameter lists.

            PR c++/105067

    gcc/cp/ChangeLog:

            * pt.cc (finish_concept_definition): Check that a concept is
            declared with exactly one template parameter list.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp2a/concepts-err4.C: New test.

Reply via email to