Index: libcxx/test/std/input.output/filesystems/fs.filesystem.synopsis/file_time_type.pass.cpp =================================================================== --- libcxx/test/std/input.output/filesystems/fs.filesystem.synopsis/file_time_type.pass.cpp +++ libcxx/test/std/input.output/filesystems/fs.filesystem.synopsis/file_time_type.pass.cpp @@ -32,16 +32,20 @@ ((void)odr_use); } +#ifndef _WIN32 void test_time_point_resolution_and_range() { using namespace fs; using Dur = file_time_type::duration; using Period = Dur::period; ASSERT_SAME_TYPE(Period, std::nano); } +#endif int main(int, char**) { test_trivial_clock(); +#ifndef _WIN32 test_time_point_resolution_and_range(); +#endif return 0; }