// { dg-do compile { target c++20 } } #include template constexpr bool is_int = false; template<> constexpr bool is_int = true; // LWG 3656. Inconsistent bit operations returning a count // Rturn type of std::bit_width(T) changed from T to int. static_assert( is_int ); static_assert( is_int ); static_assert( is_int ); static_assert( is_int ); static_assert( is_int );