]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/27_io/spanstream/version.cc
libstdc++: Disable hosted-only tests [PR103626]
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / spanstream / version.cc
1 // { dg-options "-std=gnu++23" }
2 // { dg-do compile { target c++23 } }
3 // { dg-require-effective-target hosted }
4
5 #include <version>
6
7 #ifndef __cpp_lib_spanstream
8 # error "Feature-test macro for spanstream missing in <version>"
9 #elif __cpp_lib_spanstream != 202106L
10 # error "Feature-test macro for spanstream has wrong value in <version>"
11 #endif