diff options
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> |