Index: libcxx/test/std/containers/views/span.cons/span.pass.cpp =================================================================== --- libcxx/test/std/containers/views/span.cons/span.pass.cpp +++ libcxx/test/std/containers/views/span.cons/span.pass.cpp @@ -105,13 +105,12 @@ { static_assert(std::is_convertible_v, "Bad input types to 'testConversionSpan"); std::span s0d{}; - std::span s0s{}; + std::span s0s{}; std::span s1(s0d); // dynamic -> dynamic std::span s2(s0s); // static -> static std::span s3(s0d); // static -> dynamic - s1.data() == nullptr&& s1.size() == 0 && - s2.data() == nullptr&& s2.size() == 0 && - s3.data() == nullptr&& s3.size() == 0; + return s1.data() == nullptr && s1.size() == 0 && s2.data() == nullptr && + s2.size() == 0 && s3.data() == nullptr && s3.size() == 0; } struct A{};