Skip to content

Commit ec1fc1a

Browse files
committed
Update CPO test
1 parent f0bad15 commit ec1fc1a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libcxx/test/std/library/description/conventions/customization.point.object/cpo.compile.pass.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ static_assert(test(std::ranges::ssize, a));
8585
// views::empty<T> is not a CPO
8686
static_assert(test(std::views::iota, 1));
8787
static_assert(test(std::views::iota, 1, 10));
88+
#if TEST_STD_VER >= 26
89+
static_assert(test(std::views::indices, 10));
90+
#endif
8891
#ifndef TEST_HAS_NO_LOCALIZATION
8992
static_assert(test(std::views::istream<int>, stream));
9093
#endif

0 commit comments

Comments
 (0)