1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
12 // template<> struct char_traits<char32_t>
14 // static constexpr bool lt(char_type c1, char_type c2);
19 #include "test_macros.h"
23 #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
24 #if TEST_STD_VER >= 11
25 assert(!std::char_traits<char32_t>::lt(U'a', U'a'));
26 assert( std::char_traits<char32_t>::lt(U'A', U'a'));
28 #endif // _LIBCPP_HAS_NO_UNICODE_CHARS