diff --git a/libcxx/test/std/numerics/c.math/isinf.pass.cpp b/libcxx/test/std/numerics/c.math/isinf.pass.cpp index 9f157fcf8a99e7..e5169e8056c2ea 100644 --- a/libcxx/test/std/numerics/c.math/isinf.pass.cpp +++ b/libcxx/test/std/numerics/c.math/isinf.pass.cpp @@ -74,13 +74,7 @@ int main(int, char**) { // Make sure we can call `std::isinf` with convertible types { assert(!std::isinf(ConvertibleTo())); - // When libc++ is layered on top of Bionic's libc, `math.h` exposes a - // function prototype for `isinf(double)` with return type `int`. libc++ - // can only work around it via `_LIBCPP_PREFERRED_OVERLOAD`, which is only - // available in modern versions of Clang, and not elsewhere. -#if defined(TEST_COMPILER_CLANG) || !defined(__BIONIC__) assert(!std::isinf(ConvertibleTo())); -#endif assert(!std::isinf(ConvertibleTo())); } diff --git a/libcxx/test/std/numerics/c.math/isnan.pass.cpp b/libcxx/test/std/numerics/c.math/isnan.pass.cpp index e1aa7872890ff7..e4ccab1243e567 100644 --- a/libcxx/test/std/numerics/c.math/isnan.pass.cpp +++ b/libcxx/test/std/numerics/c.math/isnan.pass.cpp @@ -74,13 +74,7 @@ int main(int, char**) { // Make sure we can call `std::isnan` with convertible types { assert(!std::isnan(ConvertibleTo())); - // When libc++ is layered on top of Bionic's libc, `math.h` exposes a - // function prototype for `isnan(double)` with return type `int`. libc++ - // can only work around it via `_LIBCPP_PREFERRED_OVERLOAD`, which is only - // available in modern versions of Clang, and not elsewhere. -#if defined(TEST_COMPILER_CLANG) || !defined(__BIONIC__) assert(!std::isnan(ConvertibleTo())); -#endif assert(!std::isnan(ConvertibleTo())); }