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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>:

https://gcc.gnu.org/g:cf7eac5805e714c7e71b699329e2c4f4a88addc1

commit r11-882-gcf7eac5805e714c7e71b699329e2c4f4a88addc1
Author: Iain Sandoe <i...@sandoe.co.uk>
Date:   Wed Jun 3 09:03:22 2020 +0100

    coroutines: Allow parameter packs in co_await/yield expressions [PR95345]

    This corrects a pasto, where I copied the constraint on bare
    parameter packs from the co_return to co_yield/await without
    properly reviewing it.

    gcc/cp/ChangeLog:

            PR c++/95345
            * coroutines.cc (finish_co_await_expr): Revise to allow for
            parameter packs.
            (finish_co_yield_expr): Likewise.

    gcc/testsuite/ChangeLog:

            PR c++/95345
            * g++.dg/coroutines/pr95345.C: New test.

Reply via email to