// { dg-do preprocess { target c++23 } } // { dg-require-effective-target hosted } // { dg-add-options no_pch } #include #ifndef __cpp_lib_to_chars # error "Feature-test macro for to_chars missing in " #elif __cpp_lib_to_chars != (__cplusplus == 202302L ? 201611L : 202306L) # error "Feature-test macro for to_chars has wrong value in " #endif #ifndef __cpp_lib_constexpr_charconv # error "Feature-test macro for constexpr charconv missing in " #elif __cpp_lib_constexpr_charconv != 202207L # error "Feature-test macro for constexpr charconv has wrong value in " #endif