// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/platform/wtf/casting.h" #include "testing/gtest/include/gtest/gtest.h" namespace blink { namespace { class Base { … }; class Intermediate : public Base { … }; class Derived : public Intermediate { … }; } // namespace template <> struct DowncastTraits<Derived> { … }; TEST(CastingTest, Basic) { … } } // namespace blink