Debian Codegraph @

libstdc++-v3/testsuite/20_util/unreachable/version.cc

raw
1 // { dg-do preprocess { target c++23 } }
2 // { dg-add-options no_pch }
3
4 #include <version>
5
6 #ifndef __cpp_lib_unreachable
7 # error "Feature-test macro for unreachable missing in <version>"
8 #elif __cpp_lib_unreachable != 202202L
9 # error "Feature-test macro for unreachable has wrong value in <version>"
10 #endif