//===- llvm/unittest/ADT/PointerSumTypeTest.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 // //===----------------------------------------------------------------------===// #include "llvm/ADT/PointerSumType.h" #include "gtest/gtest.h" usingnamespacellvm; namespace { struct PointerSumTypeTest : public testing::Test { … }; TEST_F(PointerSumTypeTest, NullTest) { … } TEST_F(PointerSumTypeTest, GetTag) { … } TEST_F(PointerSumTypeTest, Is) { … } TEST_F(PointerSumTypeTest, Get) { … } TEST_F(PointerSumTypeTest, Cast) { … } TEST_F(PointerSumTypeTest, Assignment) { … } } // end anonymous namespace