// { dg-options "-std=gnu++23" } // { dg-do compile { target c++23 } } // { dg-require-effective-target hosted } #include #ifndef __cpp_lib_spanstream # error "Feature-test macro for spanstream missing in " #elif __cpp_lib_spanstream != 202106L # error "Feature-test macro for spanstream has wrong value in " #endif