Debian Codegraph @

libstdc++-v3/testsuite/25_algorithms/unique_copy/120384.cc

raw
1 // { dg-options "-D_GLIBCXX_CONCEPT_CHECKS" }
2 // { dg-do compile }
3
4 // PR 120384 _BinaryPredicateConcept checks in std::unique_copy are wrong
5
6 #include <algorithm>
7
8 void
9 test_pr120384(const int* first, const int* last, int* out)
10 {
11 std::unique_copy(first, last, out);
12 }