// Copyright (c) 2018 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "util/no_destructor.h" #include <cstdint> #include <cstdlib> #include <utility> #include "gtest/gtest.h" namespace leveldb { namespace { struct DoNotDestruct { … }; constexpr const uint32_t kGoldenA = …; constexpr const uint64_t kGoldenB = …; } // namespace TEST(NoDestructorTest, StackInstance) { … } TEST(NoDestructorTest, StaticInstance) { … } } // namespace leveldb