Skip to content

Commit 4462459

Browse files
committed
Add CPO test
1 parent b0c1c65 commit 4462459

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
@@ -81,6 +81,9 @@ static_assert(test(std::ranges::ssize, a));
8181
// views::empty<T> is not a CPO
8282
static_assert(test(std::views::iota, 1));
8383
static_assert(test(std::views::iota, 1, 10));
84+
#if TEST_STD_VER >= 26
85+
static_assert(test(std::views::indices, 10));
86+
#endif
8487
//static_assert(test(std::views::istream<int>, 1);
8588
static_assert(test(std::views::single, 4));
8689

0 commit comments

Comments
 (0)