Skip to content

Commit 123ab34

Browse files
[libc++][test] Move format.functions ASCII tests to libcxx/test/libcxx (#78661)
As @cpplearner explained in microsoft/STL#4328: > libc++'s "ascii" mode (controlled by the `_LIBCPP_HAS_NO_UNICODE` > macro) means "every code unit outside ASCII is treated as a valid > printable character". AFAIK we \[MSVC's STL\] don't support such a mode. Because these files are testing a non-Standard mode, they should be moved from `libcxx/test/std` to `libcxx/test/libcxx`.
1 parent 7071a25 commit 123ab34

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

libcxx/test/std/utilities/format/format.functions/escaped_output.ascii.pass.cpp renamed to libcxx/test/libcxx/utilities/format/format.functions/escaped_output.ascii.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ void test_char() {
226226
static_assert(sizeof(CharT) == 4, "add support for unexpected size");
227227
// Unicode fitting in a 32-bit wchar_t
228228

229-
constexpr wchar_t x = 0x1ffff;
229+
constexpr wchar_t x = 0x1ffff;
230230
constexpr std::uint32_t y = 0x1ffff;
231231
static_assert(x == y);
232232

0 commit comments

Comments
 (0)