diff --git a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp --- a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp +++ b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp @@ -23,6 +23,8 @@ static_assert(std::same_as()), int const&>); static_assert(std::same_as, std::ptrdiff_t>); +static_assert(std::same_as>, int&&>); + struct S { }; using Cpp17InputIterator = std::projected, int S::*>;