//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // UNSUPPORTED: !stdlib=libc++ && (c++03 || c++11 || c++14) // P2251 was voted into C++23, but is supported even in C++17 mode by all vendors. // #include #include #include "test_macros.h" static_assert(std::is_trivially_copyable >::value, ""); #ifndef TEST_HAS_NO_WIDE_CHARACTERS static_assert(std::is_trivially_copyable >::value, ""); #endif #ifndef TEST_HAS_NO_CHAR8_T static_assert(std::is_trivially_copyable >::value, ""); #endif static_assert(std::is_trivially_copyable >::value, ""); static_assert(std::is_trivially_copyable >::value, "");