diff --git a/libcxx/test/std/containers/iterator.rel_ops.compile.pass.cpp b/libcxx/test/std/containers/iterator.rel_ops.compile.pass.cpp index 12efbd3fee98f..46d46b7c3013c 100644 --- a/libcxx/test/std/containers/iterator.rel_ops.compile.pass.cpp +++ b/libcxx/test/std/containers/iterator.rel_ops.compile.pass.cpp @@ -8,6 +8,9 @@ // UNSUPPORTED: libcpp-has-no-filesystem-library +// std::filesystem is unavailable prior to macOS 10.15 +// XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13|14}} + // Make sure the various containers' iterators are not broken by the use of `std::rel_ops`. #include // for std::rel_ops