]>
git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/23_containers/vector/requirements/version.cc
1 // { dg-options "-std=gnu++20" }
2 // { dg-do preprocess { target c++20 } }
3 // { dg-require-effective-target hosted }
7 #ifndef __cpp_lib_constexpr_vector
8 # error "Feature test macro for constexpr vector is missing in <version>"
9 #elif __cpp_lib_constexpr_vector != 201907L
10 # error "Feature test macro for constexpr vector has wrong value in <version>"