[libc++][test] Add tuple trivial destructor test
authorJoe Loser <joeloser93@gmail.com>
Sun, 12 Jun 2022 00:11:04 +0000 (18:11 -0600)
committerJoe Loser <joeloser93@gmail.com>
Sun, 12 Jun 2022 00:11:04 +0000 (18:11 -0600)
commitc115e760c25a45e0d045ebb51d758a5386a9ce94
tree3c73245f1a44b2897e5b4a6067a0aea41674e60e
parent5f57ca208b41ea6f70089ab9c5104b6f8ecc13f4
[libc++][test] Add tuple trivial destructor test

There is only compile-time tests in `dtor.pass.cpp`, so it could be made a
`dtor.compile.pass.cpp`. Instead, add a runtime test for testing the trivial
destructor behavior for `tuple`.

Differential Revision: https://reviews.llvm.org/D109298
libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp