Marshall Clow | 053d81c | 2016-07-21 05:31:24 +0000 | [diff] [blame] | 1 | //===----------------------------------------------------------------------===// |
| 2 | // |
Chandler Carruth | 57b08b0 | 2019-01-19 10:56:40 +0000 | [diff] [blame] | 3 | // 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 Clow | 053d81c | 2016-07-21 05:31:24 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
Marshall Clow | 4069c2b | 2017-03-15 18:41:11 +0000 | [diff] [blame] | 9 | // <string> |
| 10 | // The strings's value type must be the same as the traits's char_type |
Marshall Clow | 053d81c | 2016-07-21 05:31:24 +0000 | [diff] [blame] | 11 | |
Marshall Clow | 4069c2b | 2017-03-15 18:41:11 +0000 | [diff] [blame] | 12 | #include <string> |
| 13 | |
JF Bastien | 2df59c5 | 2019-02-04 20:31:13 +0000 | [diff] [blame^] | 14 | int main(int, char**) |
Marshall Clow | 4069c2b | 2017-03-15 18:41:11 +0000 | [diff] [blame] | 15 | { |
| 16 | std::basic_string<char, std::char_traits<wchar_t>> s; |
JF Bastien | 2df59c5 | 2019-02-04 20:31:13 +0000 | [diff] [blame^] | 17 | |
| 18 | return 0; |
Marshall Clow | 4069c2b | 2017-03-15 18:41:11 +0000 | [diff] [blame] | 19 | } |