libstdc++-v3/testsuite/std/format/ranges/feature_test.cc
raw| 1 | // { dg-do preprocess { target c++23 } } |
| 2 | |
| 3 | #include <format> |
| 4 | |
| 5 | #ifndef __cpp_lib_format_ranges |
| 6 | # error "Feature-test macro __cpp_lib_format_ranges missing in <format>" |
| 7 | #elif __cpp_lib_format_ranges != 202207L |
| 8 | # error "Feature-test macro __cpp_lib_format_ranges has wrong value in <format>" |
| 9 | #endif |