blob: 7b08820b59846c5e23e9343e9dddb968b338ecf4 [file]
// { dg-do preprocess { target c++26 } }
// { dg-add-options no_pch }
#include <numeric>
#ifndef __cpp_lib_saturation_arithmetic
# error "Feature test macro for saturation arithmetic is missing in <numeric>"
#elif __cpp_lib_saturation_arithmetic < 202603L
# error "Feature test macro for saturation arithmetic has wrong value in <numeric>"
#endif
#undef __cpp_lib_saturation_arithmetic
#include <version>
#ifndef __cpp_lib_saturation_arithmetic
# error "Feature test macro for saturation arithmetic is missing in <version>"
#elif __cpp_lib_saturation_arithmetic < 202603L
# error "Feature test macro for saturation arithmetic has wrong value in <version>"
#endif