llvm/llvm/unittests/Support/ExtensibleRTTITest.cpp

//===------ unittests/ExtensibleRTTITest.cpp - Extensible RTTI 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/Support/ExtensibleRTTI.h"
#include "llvm/Support/Casting.h"

#include "gtest/gtest.h"

usingnamespacellvm;

namespace {

class MyBaseType : public RTTIExtends<MyBaseType, RTTIRoot> {};

class MyDerivedType : public RTTIExtends<MyDerivedType, MyBaseType> {};

class MyOtherDerivedType : public RTTIExtends<MyOtherDerivedType, MyBaseType> {};

class MyDeeperDerivedType
    : public RTTIExtends<MyDeeperDerivedType, MyDerivedType> {};

char MyBaseType::ID =;
char MyDerivedType::ID =;
char MyOtherDerivedType::ID =;
char MyDeeperDerivedType::ID =;

TEST(ExtensibleRTTI, isa) {}

TEST(ExtensibleRTTI, cast) {}

TEST(ExtensibleRTTI, dyn_cast) {}

} // namespace