File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
libcxx/test/std/ranges/range.adaptors/range.concat Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ constexpr void tests() {
3939 std::ranges::concat_view v (SimpleCommon{buffer}, SimpleCommon{buffer});
4040 static_assert (std::is_same_v<decltype (v.begin ()), decltype (std::as_const (v).begin ())>);
4141 assert (v.begin () == std::as_const (v).begin ());
42+ assert (*v.begin () == buffer[0 ]);
4243
4344 using View = decltype (v);
4445 static_assert (HasOnlyConstBegin<View>);
@@ -52,6 +53,7 @@ constexpr void tests() {
5253 std::ranges::concat_view v (SimpleCommon{buffer}, NonSimpleNonCommon{buffer});
5354 static_assert (!std::is_same_v<decltype (v.begin ()), decltype (std::as_const (v).begin ())>);
5455 assert (v.begin () == std::as_const (v).begin ());
56+ assert (*v.begin () == buffer[0 ]);
5557
5658 using View = decltype (v);
5759 static_assert (!HasOnlyConstBegin<View>);
You can’t perform that action at this time.
0 commit comments