diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip/types.h b/libcxx/test/std/ranges/range.adaptors/range.zip/types.h --- a/libcxx/test/std/ranges/range.adaptors/range.zip/types.h +++ b/libcxx/test/std/ranges/range.adaptors/range.zip/types.h @@ -319,7 +319,7 @@ } constexpr void operator++(int) { ++it_; } - constexpr int& operator*() const { return *it_; } + constexpr auto& operator*() const { return *it_; } friend constexpr bool operator==(common_input_iterator const&, common_input_iterator const&) = default; };