Some c++23 tests fail on targets that don't satisfy dg-require-cmath,
because referenced math functions don't get declared in std. Add the
missing requirement.
for libstdc++-v3/ChangeLog
* testsuite/26_numerics/headers/cmath/constexpr_std_c++23.cc:
Require cmath.
* testsuite/26_numerics/headers/cmath/functions_std_c++23.cc:
Likewise.
* testsuite/26_numerics/headers/cmath/nextafter_c++23.cc:
Likewise.
// <http://www.gnu.org/licenses/>.
// { dg-do link { target c++23 } }
+// { dg-require-cmath "" }
#include <stdfloat>
#include <cmath>
// <http://www.gnu.org/licenses/>.
// { dg-do link { target c++23 } }
+// { dg-require-cmath "" }
#include <stdfloat>
#include <cmath>
// <http://www.gnu.org/licenses/>.
// { dg-do run { target c++23 } }
+// { dg-require-cmath "" }
#include <stdfloat>
#include <cmath>