diff --git a/libcxx/test/std/input.output/filesystems/fs.enum/enum.copy_options.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.enum/enum.copy_options.pass.cpp --- a/libcxx/test/std/input.output/filesystems/fs.enum/enum.copy_options.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/fs.enum/enum.copy_options.pass.cpp @@ -30,7 +30,7 @@ typedef std::underlying_type::type UT; static_assert(!std::is_convertible::value, ""); - static_assert(std::is_same::value, ""); // Implementation detail + LIBCPP_ONLY(static_assert(std::is_same::value, "")); // Implementation detail typedef check_bitmask_type BitmaskTester; assert(BitmaskTester::check()); diff --git a/libcxx/test/std/input.output/filesystems/fs.enum/enum.directory_options.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.enum/enum.directory_options.pass.cpp --- a/libcxx/test/std/input.output/filesystems/fs.enum/enum.directory_options.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/fs.enum/enum.directory_options.pass.cpp @@ -30,7 +30,7 @@ // Check that E is a scoped enum by checking for conversions. typedef std::underlying_type::type UT; static_assert(!std::is_convertible::value, ""); - static_assert(std::is_same::value, ""); + LIBCPP_ONLY(static_assert(std::is_same::value, "")); typedef check_bitmask_type BitmaskTester; assert(BitmaskTester::check()); diff --git a/libcxx/test/std/input.output/filesystems/fs.enum/enum.file_type.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.enum/enum.file_type.pass.cpp --- a/libcxx/test/std/input.output/filesystems/fs.enum/enum.file_type.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/fs.enum/enum.file_type.pass.cpp @@ -29,7 +29,7 @@ typedef std::underlying_type::type UT; static_assert(!std::is_convertible::value, ""); - static_assert(std::is_same::value, ""); // Implementation detail + LIBCPP_ONLY(static_assert(std::is_same::value, "")); // Implementation detail static_assert( E::none == ME(0) && diff --git a/libcxx/test/std/input.output/filesystems/fs.enum/enum.perms.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.enum/enum.perms.pass.cpp --- a/libcxx/test/std/input.output/filesystems/fs.enum/enum.perms.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/fs.enum/enum.perms.pass.cpp @@ -31,7 +31,7 @@ typedef std::underlying_type::type UT; static_assert(!std::is_convertible::value, ""); - static_assert(std::is_same::value, ""); // Implementation detail + LIBCPP_ONLY(static_assert(std::is_same::value, "")); // Implementation detail typedef check_bitmask_type BitmaskTester; assert(BitmaskTester::check());