diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-06-03 09:03:22 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-06-03 20:23:59 +0100 |
commit | cf7eac5805e714c7e71b699329e2c4f4a88addc1 (patch) | |
tree | fc58d64b47f4c023670d0c8de19eb9f5c6596f88 /gcc/c/c-parser.c | |
parent | b19d8aac15649f31a7588b2634411a1922906ea8 (diff) | |
download | gcc-cf7eac5805e714c7e71b699329e2c4f4a88addc1.zip gcc-cf7eac5805e714c7e71b699329e2c4f4a88addc1.tar.gz gcc-cf7eac5805e714c7e71b699329e2c4f4a88addc1.tar.bz2 |
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.
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions