Skip to content

Commit 56d8850

Browse files
committed
Fix example.pass.cpp test
1 parent ee942ce commit 56d8850

File tree

1 file changed

+2
-1
lines changed
  • libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.overview

1 file changed

+2
-1
lines changed

libcxx/test/std/ranges/range.adaptors/range.join.with/range.join.with.overview/example.pass.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#include <ranges>
2222

23+
#include <cassert>
2324
#include <string>
2425
#include <vector>
2526

@@ -34,7 +35,7 @@ constexpr bool test() {
3435
}
3536

3637
int main(int, char**) {
37-
test();
38+
assert(test());
3839
static_assert(test());
3940

4041
return 0;

0 commit comments

Comments
 (0)