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 // This empty.cc is built when raw_ptr_noop_impl.h is used to avoid 6 // the situation: no object files are linked to build raw_ptr.dll. 7 // If raw_ptr target's sources has only header files, no object 8 // files will be generated and we will see the following error: 9 // "lld_link:error: <root>: undefined symbol: _DllMainCRTStartup." 10