Skip to content

Commit 5ad6ed5

Browse files
committed
[libc++] [test] Disable parts of path.factory.pass.cpp as requiring localization enabled.
It was added in commit 6be11e3, "[libcxx] Implement c++2a char8_t input/output of std::filesystem::path".
1 parent e7fc561 commit 5ad6ed5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libcxx/test/std/input.output/filesystems/class.path/path.nonmember/path.factory.pass.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ int main(int, char**)
4949
path p = fs::u8path(In3, In3End);
5050
assert(p == In1);
5151
}
52-
#if TEST_STD_VER > 17 && defined(__cpp_char8_t) && defined(_LIBCPP_VERSION)
52+
#if TEST_STD_VER > 17 && defined(__cpp_char8_t) && defined(_LIBCPP_VERSION) && \
53+
!defined(_LIBCPP_HAS_NO_LOCALIZATION)
5354
const char8_t* u8In1 = u8"abcd/efg";
5455
const std::u8string u8In2(u8In1);
5556
const auto u8In3 = u8In2.begin();

0 commit comments

Comments
 (0)