diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2017-05-11 13:51:09 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2017-05-11 13:51:09 +0000 |
commit | 9630f46ddeeab51b75f7e38673b43325e3cdc491 (patch) | |
tree | 00979496facec034c2e5abe168f0abb85682275d /libcxx/test/std/utilities/utility/pairs | |
parent | e6afa397c6c021f9879beda52340cac09b935b86 (diff) | |
download | bcm5719-llvm-9630f46ddeeab51b75f7e38673b43325e3cdc491.tar.gz bcm5719-llvm-9630f46ddeeab51b75f7e38673b43325e3cdc491.zip |
Mark LWG#2796 as complete. No functionality change; we had tests that covered it already. Just added comments to the tests
llvm-svn: 302798
Diffstat (limited to 'libcxx/test/std/utilities/utility/pairs')
-rw-r--r-- | libcxx/test/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp b/libcxx/test/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp index 2d87e7ababa..83c55e75b4d 100644 --- a/libcxx/test/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp +++ b/libcxx/test/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp @@ -15,6 +15,10 @@ // ~pair() +// C++17 added: +// The destructor of pair shall be a trivial destructor +// if (is_trivially_destructible_v<T1> && is_trivially_destructible_v<T2>) is true. + #include <utility> #include <type_traits> |