// { dg-do preprocess { target c++23 } } // { dg-add-options no_pch } #include #ifndef __cpp_lib_freestanding_algorithm # error "Feature test macro for freestanding swap_ranges is missing in " #elif __cpp_lib_freestanding_algorithm < 202311L # error "Feature test macro for freestanding swap_ranges has wrong value in " #endif #undef __cpp_lib_freestanding_algorithm #include #ifndef __cpp_lib_freestanding_algorithm # error "Feature test macro for freestanding swap_ranges is missing in " #elif __cpp_lib_freestanding_algorithm < 202311L # error "Feature test macro for freestanding swap_ranges has wrong value in " #endif