[libc++] Skip tests using constexpr destructors with older clang versions
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Mon, 19 Oct 2020 16:22:54 +0000 (17:22 +0100)
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Mon, 19 Oct 2020 16:23:02 +0000 (17:23 +0100)
commit8041f13e62ae3dfd4b66e33d917aae45dfb61d2d
tree5b3b8603e22b7014feef175c94edd247a08ec349
parent4a51691a85a1c048b9028d409b744a6235c55933
[libc++] Skip tests using constexpr destructors with older clang versions

It appears that the released version of clang that supports constexpr
destructors is clang 10 and the oldest one that accepts -std=c++2a is 5,
so mark these as UNSUPPORTED for clang-5 to clang-9.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D89704
libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp
libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy.pass.cpp
libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_at.pass.cpp
libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_n.pass.cpp