Commit 9382018b by Iain Sandoe

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.
parent 82aa0d5b
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.
2020-04-19 Thomas Koenig <tkoenig@gcc.gnu.org> 2020-04-19 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/94347 PR fortran/94347
......
// { dg-do run } // { dg-do run { target c++17 } }
#include "../coro.h" #include "../coro.h"
......
// { dg-do run } // { dg-do run { target c++17 } }
// //
// Check if default return_void is insert at correct position. // Check if default return_void is insert at correct position.
#include <cassert> #include <cassert>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment