]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Move std::to_address tests to more appropriate place
authorJonathan Wakely <jwakely@redhat.com>
Fri, 26 Nov 2021 11:03:06 +0000 (11:03 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 26 Nov 2021 12:38:35 +0000 (12:38 +0000)
commit0178b73a02021551f83e3e52c4819c4096513301
treedd2a5e27473e95553e87bd7bc069689e0585ba1f
parenta70faf6e4df7481c2c9a08a06657c20beb3043de
libstdc++: Move std::to_address tests to more appropriate place

Some of the checks in 20_util/pointer_traits/lwg3545.cc really belong in
20_util/to_address/lwg3545 instead.

This also fixes the ordering of the dg-options and dg-do directives.

libstdc++-v3/ChangeLog:

* testsuite/20_util/pointer_traits/lwg3545.cc: Move to_address
tests to ...
* testsuite/20_util/to_address/lwg3545.cc: ... here. Add -std
option before checking effective target.
libstdc++-v3/testsuite/20_util/pointer_traits/lwg3545.cc
libstdc++-v3/testsuite/20_util/to_address/lwg3545.cc