//===----------------------------------------------------------------------===// // // 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 // //===----------------------------------------------------------------------===// // // Test for the existence of: // basic_string typedef names // typedef basic_string string; // typedef basic_string u16string; // typedef basic_string u8string; // C++20 // typedef basic_string u32string; // typedef basic_string wstring; #include #include #include "test_macros.h" static_assert((std::is_same >::value), ""); #ifndef TEST_HAS_NO_WIDE_CHARACTERS static_assert((std::is_same >::value), ""); #endif #ifndef TEST_HAS_NO_CHAR8_T static_assert((std::is_same >::value), ""); #endif static_assert((std::is_same >::value), ""); static_assert((std::is_same >::value), "");