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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:6aae831a3fe6619794afa79410e6fc1b4817f0b1

commit r14-8163-g6aae831a3fe6619794afa79410e6fc1b4817f0b1
Author: waffl3x <waff...@protonmail.com>
Date:   Fri Jan 12 07:40:19 2024 +0000

    c++: reject packs on xobj params [PR113307]

    Reject and diagnose xobj parameters declared as parameter packs.

            PR c++/113307

    gcc/cp/ChangeLog:

            * parser.cc (cp_parser_parameter_declaration): Reject packs
            on xobj params.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp23/explicit-obj-diagnostics3.C: Add test for
            rejection of packs.

    Signed-off-by: Waffl3x <waff...@protonmail.com>

Reply via email to