blob: 6a32051a1c3f3d4bc3d34cea7fd78c89417c8f14 [file] [log] [blame]
Marshall Clow053d81c2016-07-21 05:31:24 +00001//===----------------------------------------------------------------------===//
2//
Chandler Carruth57b08b02019-01-19 10:56:40 +00003// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Marshall Clow053d81c2016-07-21 05:31:24 +00006//
7//===----------------------------------------------------------------------===//
8
Marshall Clow4069c2b2017-03-15 18:41:11 +00009// <string_view>
10// The string_views's value type must be the same as the traits's char_type
11
Marshall Clow053d81c2016-07-21 05:31:24 +000012#include <string_view>
13
Marshall Clow4069c2b2017-03-15 18:41:11 +000014int main()
15{
16 std::basic_string_view<char, std::char_traits<wchar_t>> s;
17}