coroutines: Update func-params-08.C to suspend three times.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 28 Feb 2020 13:51:43 +0000 (13:51 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 28 Feb 2020 20:52:17 +0000 (20:52 +0000)
commite82192021dd08291ee418cb33bb7af037952e963
treee3de5e123ee398f73482391dd765812171a51971
parent3f469f585e08802d4d4add549f34c1afb2ae3157
coroutines: Update func-params-08.C to suspend three times.

The awaitable initially committed was returning "always ready"
which meant that the suspension code was not used.  Update
the test to suspend at each co_await, since this exercises more
of the infrastructure.

gcc/testsuite/ChangeLog:

2020-02-28  Iain Sandoe  <iain@sandoe.co.uk>

* g++.dg/coroutines/torture/func-params-08.C: Update
to suspend for each co_await operation.
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/coroutines/torture/func-params-08.C