c++: xtreme-header modules tests cleanups
authorPatrick Palka <ppalka@redhat.com>
Tue, 20 Sep 2022 20:13:48 +0000 (16:13 -0400)
committerPatrick Palka <ppalka@redhat.com>
Tue, 20 Sep 2022 20:13:48 +0000 (16:13 -0400)
commitc77f556741ded4aa868f851ea32f9732602b0ea9
tree78a75554bc85c74ba7f50c44b0a590725db6b218
parent4fac53d652218946b82af4431a801ab1551f0e79
c++: xtreme-header modules tests cleanups

This adds some recently implemented C++20/23 library headers to the
xtreme-header tests as appropriate.  Also, it looks like we can safely
re-add <execution> and remove the NO_ASSOCIATED_LAMBDA workaround.

gcc/testsuite/ChangeLog:

* g++.dg/modules/xtreme-header-2.h: Include <execution>.
* g++.dg/modules/xtreme-header-6.h: Include implemented
C++20 library headers.
* g++.dg/modules/xtreme-header.h: Likewise.  Remove
NO_ASSOCIATED_LAMBDA workaround.  Include implemented C++23
library headers.
gcc/testsuite/g++.dg/modules/xtreme-header-2.h
gcc/testsuite/g++.dg/modules/xtreme-header-6.h
gcc/testsuite/g++.dg/modules/xtreme-header.h