1 // Copyright 2022 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/cxx20_is_constant_evaluated.h"
7 #include "testing/gtest/include/gtest/gtest.h"
11 TEST(Cxx20IsConstantEvaluated, Basic) {
12 static_assert(is_constant_evaluated(), "");
13 EXPECT_FALSE(is_constant_evaluated());