// 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 <vector> #include "partition_alloc/partition_alloc_base/no_destructor.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" namespace partition_alloc::internal::base { static constinit NoDestructor<int> an_int; static auto& GetVector() { … } TEST(NoDestructorTest, Basic) { … } } // namespace partition_alloc::internal::base