File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
libcxx/test/std/numerics/c.math Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -74,13 +74,7 @@ int main(int, char**) {
7474 // Make sure we can call `std::isinf` with convertible types
7575 {
7676 assert (!std::isinf (ConvertibleTo<float >()));
77- // When libc++ is layered on top of Bionic's libc, `math.h` exposes a
78- // function prototype for `isinf(double)` with return type `int`. libc++
79- // can only work around it via `_LIBCPP_PREFERRED_OVERLOAD`, which is only
80- // available in modern versions of Clang, and not elsewhere.
81- #if defined(TEST_COMPILER_CLANG) || !defined(__BIONIC__)
8277 assert (!std::isinf (ConvertibleTo<double >()));
83- #endif
8478 assert (!std::isinf (ConvertibleTo<long double >()));
8579 }
8680
Original file line number Diff line number Diff line change @@ -74,13 +74,7 @@ int main(int, char**) {
7474 // Make sure we can call `std::isnan` with convertible types
7575 {
7676 assert (!std::isnan (ConvertibleTo<float >()));
77- // When libc++ is layered on top of Bionic's libc, `math.h` exposes a
78- // function prototype for `isnan(double)` with return type `int`. libc++
79- // can only work around it via `_LIBCPP_PREFERRED_OVERLOAD`, which is only
80- // available in modern versions of Clang, and not elsewhere.
81- #if defined(TEST_COMPILER_CLANG) || !defined(__BIONIC__)
8277 assert (!std::isnan (ConvertibleTo<double >()));
83- #endif
8478 assert (!std::isnan (ConvertibleTo<long double >()));
8579 }
8680
You can’t perform that action at this time.
0 commit comments