[PowerPC][NFC] Cleanup PPCCTRLoopsVerify pass
[llvm-project.git] / libcxx / test / std / containers / container.adaptors / queue / queue.cons / dtor_noexcept.pass.cpp
blob3486604006400c5e55cf8e37f82317de1d9db77e
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // <queue>
11 // ~queue() // implied noexcept;
13 // UNSUPPORTED: c++03
15 #include <queue>
16 #include <cassert>
18 #include "test_macros.h"
19 #include "MoveOnly.h"
21 int main(int, char**)
24 typedef std::queue<MoveOnly> C;
25 static_assert(std::is_nothrow_destructible<C>::value, "");
28 return 0;