(root)/
gcc-13.2.0/
libstdc++-v3/
testsuite/
27_io/
spanstream/
version.cc
// { dg-options "-std=gnu++23" }
// { dg-do compile { target c++23 } }
// { dg-require-effective-target hosted }

#include <version>

#ifndef __cpp_lib_spanstream
# error "Feature-test macro for spanstream missing in <version>"
#elif __cpp_lib_spanstream != 202106L
# error "Feature-test macro for spanstream has wrong value in <version>"
#endif