Fix some missing/incorrect feature test macros
authorJonathan Wakely <jwakely@redhat.com>
Wed, 30 Oct 2019 16:57:13 +0000 (16:57 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 30 Oct 2019 16:57:13 +0000 (16:57 +0000)
commit0d58d88db68e190f9dfae241a806086872ef1d10
tree8feaa97ad772bdb43493d62c567891602b25a4d0
parent43f1814cf15f0d92bb7a41ab4e38ac83dc3fec74
Fix some missing/incorrect feature test macros

* include/std/bit (__cpp_lib_bitops): Define.
* include/std/version (__cpp_lib_constexpr): Remove.
(__cpp_lib_bitops, __cpp_lib_constexpr_dynamic_alloc): Define.
* testsuite/26_numerics/bit/header.cc: New test.
* testsuite/26_numerics/bit/header-2.cc: New test.
* testsuite/20_util/allocator_traits/header.cc: New test.
* testsuite/20_util/allocator_traits/header-2.cc: New test.

From-SVN: r277633
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/bit
libstdc++-v3/include/std/version
libstdc++-v3/testsuite/20_util/allocator_traits/header-2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/allocator_traits/header.cc [new file with mode: 0644]
libstdc++-v3/testsuite/26_numerics/bit/header-2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/26_numerics/bit/header.cc [new file with mode: 0644]