Fix compiler warnings in tests.

This commit is contained in:
Rasmus Munk Larsen
2023-02-14 02:29:03 +00:00
parent 4a03409569
commit 07aaa62e6f
4 changed files with 44 additions and 41 deletions

View File

@@ -251,9 +251,9 @@ void mixed_pow_test() {
unary_pow_test<double, long long>();
// The following cases will test promoting a wider exponent type
// to a narrower base type. This should compile but generate a
// to a narrower base type. This should compile but would generate a
// deprecation warning:
unary_pow_test<float, double>();
// unary_pow_test<float, double>();
}
void int_pow_test() {