1//===----------------------------------------------------------------------===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10// <string>
11
12// Test for the existence of:
13
14// basic_string typedef names
15// typedef basic_string<char> string;
16// typedef basic_string<char16_t> u16string;
17// typedef basic_string<char32_t> u32string;
18// typedef basic_string<wchar_t> wstring;
19
20#include <string>
21
22int main()
23{
24    typedef std::string test1;
25    typedef std::wstring test2;
26#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
27    typedef std::u16string test3;
28    typedef std::u32string test4;
29#endif  // _LIBCPP_HAS_NO_UNICODE_CHARS
30}
31