//===-- Tests for str{,r}chr and {,r}index functions ------------*- C++ -*-===// // // 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 // //===----------------------------------------------------------------------===// #include "test/UnitTest/Test.h" template <auto Func> struct StrchrTest : public LIBC_NAMESPACE::testing::Test { … }; template <auto Func> struct StrrchrTest : public LIBC_NAMESPACE::testing::Test { … }; #define STRCHR_TEST(name, func) … #define STRRCHR_TEST(name, func) …