coroutines, testsuite: Require C++17 for two tests.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 19 Apr 2020 12:16:12 +0000 (13:16 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 19 Apr 2020 12:16:29 +0000 (13:16 +0100)
commit9382018b8b00f3482da0d1bff6012f583ff72f87
tree144c60e14e3e8a84c8f7952864462655d25d1275
parent82aa0d5b9b5e288f7f83f69089aef030965046fe
coroutines, testsuite: Require C++17 for two tests.

While the coroutines implementation, and most of the coroutines
tests, will operate with C++14 or newer, these tests require
facilities introduced in C++17.  Add the target requirement.

gcc/testsuite/

2020-04-19  Iain Sandoe  <iain@sandoe.co.uk>

* g++.dg/coroutines/torture/co-await-17-capture-comp-ref.C: Require
C++17.
* g++.dg/coroutines/torture/co-ret-15-default-return_void.C: Likewise.
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/coroutines/torture/co-await-17-capture-comp-ref.C
gcc/testsuite/g++.dg/coroutines/torture/co-ret-15-default-return_void.C