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 container's value type must be the same as the allocator's value type 118ec49997SLouis Dionne 128ec49997SLouis Dionne #include <string> 138ec49997SLouis Dionne 14*a40bada9SBrendan Emery std::basic_string<char, std::char_traits<char>, std::allocator<int> > 15*a40bada9SBrendan Emery s; // expected-error@*:* {{Allocator::value_type must be same type as value_type}} 16