================ @@ -0,0 +1,129 @@ +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 + +// <ranges> + +// class enumerate_view + +// constexpr auto begin() requires (!simple-view<V>); +// constexpr auto begin() const requires range-with-movable-references<const V>; + +#include <cassert> +#include <concepts> +#include <ranges> + +#include "test_iterators.h" +#include "types.h" + +// Helpers + +template <class T> ---------------- cjdb wrote:
I would prefer it if these were declared at their point of use, rather than at the top of the file (and same for other tests). https://github.com/llvm/llvm-project/pull/73617 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits