[libcxx-commits] [libcxx] c1d53fe - [libc++][NFC] Add missing #ifdef for TEST_HAS_NO_WIDE_CHARACTERS
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 22 13:27:09 PST 2022
Author: Louis Dionne
Date: 2022-11-22T16:27:02-05:00
New Revision: c1d53fe338cb9d977fda5749fc5ad2c4108f26d1
URL: https://github.com/llvm/llvm-project/commit/c1d53fe338cb9d977fda5749fc5ad2c4108f26d1
DIFF: https://github.com/llvm/llvm-project/commit/c1d53fe338cb9d977fda5749fc5ad2c4108f26d1.diff
LOG: [libc++][NFC] Add missing #ifdef for TEST_HAS_NO_WIDE_CHARACTERS
Added:
Modified:
libcxx/test/std/utilities/format/format.arguments/format.arg/ctor.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/utilities/format/format.arguments/format.arg/ctor.pass.cpp b/libcxx/test/std/utilities/format/format.arguments/format.arg/ctor.pass.cpp
index 5591c31a7ada2..ce891921fee7a 100644
--- a/libcxx/test/std/utilities/format/format.arguments/format.arg/ctor.pass.cpp
+++ b/libcxx/test/std/utilities/format/format.arguments/format.arg/ctor.pass.cpp
@@ -32,7 +32,9 @@ void test() {
void test() {
test<char>();
+#ifndef TEST_HAS_NO_WIDE_CHARACTERS
test<wchar_t>();
+#endif
#ifndef TEST_HAS_NO_CHAR8_T
test<char8_t>();
#endif
More information about the libcxx-commits
mailing list