18ec49997SLouis Dionne //===----------------------------------------------------------------------===// 28ec49997SLouis Dionne // 38ec49997SLouis Dionne // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 48ec49997SLouis Dionne // See https://llvm.org/LICENSE.txt for license information. 58ec49997SLouis Dionne // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 68ec49997SLouis Dionne // 78ec49997SLouis Dionne //===----------------------------------------------------------------------===// 88ec49997SLouis Dionne 98ec49997SLouis Dionne // <string> 108ec49997SLouis Dionne // The strings's value type must be the same as the traits's char_type 118ec49997SLouis Dionne 123465f022SLouis Dionne // UNSUPPORTED: no-wide-characters 133465f022SLouis Dionne 148ec49997SLouis Dionne #include <string> 158ec49997SLouis Dionne 16*a40bada9SBrendan Emery std::basic_string<char, std::char_traits<wchar_t> > 17*a40bada9SBrendan Emery s; // expected-error@*:* {{traits_type::char_type must be the same type as CharT}} 18