llvm/pstl/test/std/algorithms/alg.nonmodifying/find.pass.cpp

// -*- C++ -*-
//===-- find.pass.cpp -----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: c++03, c++11, c++14

// Tests for find
#include "support/pstl_test_config.h"

#include <execution>
#include <algorithm>

#include "support/utils.h"

usingnamespaceTestUtils;

struct test_find
{};

template <typename T, typename Value, typename Hit, typename Miss>
void
test(Value value, Hit hit, Miss miss)
{}

// Type defined for sake of checking that std::find works with asymmetric ==.
class Weird
{};

int
main()
{}