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