diff options
Diffstat (limited to 'libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp')
-rw-r--r-- | libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp b/libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp index 8d355bfb51b..730b645e76c 100644 --- a/libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp +++ b/libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp @@ -6,7 +6,7 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17 +// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17 // template <class T> // constexpr int countr_zero(T x) noexcept; @@ -14,7 +14,7 @@ // Returns: The number of consecutive 0 bits, starting from the most significant bit. // [ Note: Returns N if x == 0. ] // -// Remarks: This function shall not participate in overload resolution unless +// Remarks: This function shall not participate in overload resolution unless // T is an unsigned integer type #include <bit> @@ -71,7 +71,7 @@ int main() { auto lambda = [](auto x) -> decltype(std::countr_zero(x)) {}; using L = decltype(lambda); - + static_assert( std::is_invocable_v<L, unsigned char>, ""); static_assert( std::is_invocable_v<L, unsigned int>, ""); static_assert( std::is_invocable_v<L, unsigned long>, ""); @@ -107,7 +107,7 @@ int main() static_assert( std::is_invocable_v<L, __uint128_t>, ""); static_assert(!std::is_invocable_v<L, __int128_t>, ""); #endif - + static_assert(!std::is_invocable_v<L, A>, ""); static_assert(!std::is_invocable_v<L, E1>, ""); static_assert(!std::is_invocable_v<L, E2>, ""); |