[libcxx] r336856 - Same reversed ifdef happened twice. Test fix only, NFC to the library.
Marshall Clow via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 11 14:22:14 PDT 2018
Author: marshall
Date: Wed Jul 11 14:22:13 2018
New Revision: 336856
URL: http://llvm.org/viewvc/llvm-project?rev=336856&view=rev
Log:
Same reversed ifdef happened twice. Test fix only, NFC to the library.
Modified:
libcxx/trunk/test/std/strings/string.view/string.view.cons/assign.pass.cpp
Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.cons/assign.pass.cpp?rev=336856&r1=336855&r2=336856&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.cons/assign.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.cons/assign.pass.cpp Wed Jul 11 14:22:13 2018
@@ -33,7 +33,7 @@ bool test (T sv0)
int main () {
assert( test<std::string_view> ( "1234"));
-#ifdef _LIBCPP_HAS_NO_UNICODE_CHARS
+#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
assert( test<std::u16string_view> (u"1234"));
assert( test<std::u32string_view> (U"1234"));
#endif
More information about the cfe-commits
mailing list