summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/strings/basic.string/traits_mismatch.fail.cpp
blob: 1d54238ae0c08be4957d8c5f1aac952ab6d957a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <string>
//   The strings's value type must be the same as the traits's char_type

#include <string>

int main()
{
    std::basic_string<char, std::char_traits<wchar_t>> s;
}
OpenPOWER on IntegriCloud