//===- llvm/unittest/Support/AnyTest.cpp - Any tests ---===// // // 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 "llvm/ADT/Any.h" #include "gtest/gtest.h" #include <cstdlib> usingnamespacellvm; namespace { // Make sure we can construct, copy-construct, move-construct, and assign Any's. TEST(AnyTest, ConstructionAndAssignment) { … } TEST(AnyTest, GoodAnyCast) { … } TEST(AnyTest, CopiesAndMoves) { … } TEST(AnyTest, BadAnyCast) { … } } // anonymous namespace