chromium/v8/test/unittests/base/flags-unittest.cc

// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <stdint.h>
#include "src/base/flags.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace v8 {
namespace base {

namespace  // namespace


TEST(FlagsTest, BasicOperations) {}


namespace {
namespace foo {

enum Option {};
Options;

}  // namespace foo


DEFINE_OPERATORS_FOR_FLAGS()

}  // namespace


TEST(FlagsTest, NamespaceScope) {}


namespace {

struct Foo {};


DEFINE_OPERATORS_FOR_FLAGS()

}  // namespace


TEST(FlagsTest, ClassScope) {}

}  // namespace base
}  // namespace v8