summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/23_containers/vector/requirements/version.cc
blob: c85e060f0481ad4392b908b1f107e694fc75c34a (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-options "-std=gnu++20" }
// { dg-do preprocess { target c++20 } }

#include <version>

#ifndef __cpp_lib_constexpr_vector
# error "Feature test macro for constexpr vector is missing in <version>"
#elif __cpp_lib_constexpr_vector != 201907L
# error "Feature test macro for constexpr vector has wrong value in <version>"
#endif