xref: /aosp_15_r20/external/cronet/base/memory/raw_ptr_chromium_unittest.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2023 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.
4 
5 #include "base/memory/raw_ptr.h"
6 
7 // This file contains tests related to raw_ptr, that test Chromium-specific
8 // configuration.
9 
10 // Chromium expects these to be always enabled.
11 static_assert(raw_ptr<int>::kZeroOnConstruct);
12 static_assert(raw_ptr<int>::kZeroOnMove);
13