summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/20_util/bitset/version.cc
blob: 791ec43bf2d7d16899f914191ecfd50f077c87e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-options "-std=gnu++23" }
// { dg-do preprocess { target c++23 } }
// { dg-require-effective-target hosted }

#include <version>

#ifndef __cpp_lib_constexpr_bitset
# error "Feature-test macro for constexpr bitset missing in <version>"
#elif __cpp_lib_constexpr_bitset != 202202L
# error "Feature-test macro for constexpr bitset has wrong value in <version>"
#endif