blob: db6097ffeb7f98ec54c1ab70ed0eb50861de06fd [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/cxx20_is_constant_evaluated.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
TEST(Cxx20IsConstantEvaluated, Basic) {
static_assert(is_constant_evaluated(), "");
EXPECT_FALSE(is_constant_evaluated());
}
} // namespace base