Fix a test #ifdef that was reversed. NFC to the library.

llvm-svn: 336855
This commit is contained in:
Marshall Clow 2018-07-11 21:20:42 +00:00
parent 1a8adce24f
commit 9c43521cd6
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ int main () {
#if TEST_STD_VER > 11 #if TEST_STD_VER > 11
static_assert( test<std::string_view> ({ "abc", 3}), ""); static_assert( test<std::string_view> ({ "abc", 3}), "");
#ifdef _LIBCPP_HAS_NO_UNICODE_CHARS #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
static_assert( test<std::u16string_view> ({u"abc", 3}), ""); static_assert( test<std::u16string_view> ({u"abc", 3}), "");
static_assert( test<std::u32string_view> ({U"abc", 3}), ""); static_assert( test<std::u32string_view> ({U"abc", 3}), "");
#endif #endif