From 9c43521cd64d3fb55a5b3a399578f9d2831e4ef6 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Wed, 11 Jul 2018 21:20:42 +0000 Subject: [PATCH] Fix a test #ifdef that was reversed. NFC to the library. llvm-svn: 336855 --- .../std/strings/string.view/string.view.cons/assign.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/test/std/strings/string.view/string.view.cons/assign.pass.cpp b/libcxx/test/std/strings/string.view/string.view.cons/assign.pass.cpp index b7348ea226cf..f31bc6d5b541 100644 --- a/libcxx/test/std/strings/string.view/string.view.cons/assign.pass.cpp +++ b/libcxx/test/std/strings/string.view/string.view.cons/assign.pass.cpp @@ -41,7 +41,7 @@ int main () { #if TEST_STD_VER > 11 static_assert( test ({ "abc", 3}), ""); -#ifdef _LIBCPP_HAS_NO_UNICODE_CHARS +#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS static_assert( test ({u"abc", 3}), ""); static_assert( test ({U"abc", 3}), ""); #endif