-// Copyright (C) 2005-2015 Free Software Foundation, Inc.
+// Copyright (C) 2005-2024 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
void
test1()
{
- bool test __attribute__((unused)) = true;
-
Container con(array, array);
VERIFY( std::find_if(con.begin(), con.end(),
predicate).ptr == array );
void
test2()
{
- bool test __attribute__((unused)) = true;
-
Container con(array, array + 1);
VERIFY( std::find_if(con.begin(), con.end(),
predicate).ptr == array + 1 );
void
test3()
{
- bool test __attribute__((unused)) = true;
-
Container con(array, array + 6);
VERIFY( std::find_if(con.begin(), con.end(),
predicate).ptr == array + 3 );