//===- unittests/Serialization/PreambleInNamedModulesTest.cpp -------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "clang/Frontend/CompilerInstance.h" #include "clang/Frontend/CompilerInvocation.h" #include "clang/Frontend/FrontendActions.h" #include "clang/Frontend/PrecompiledPreamble.h" #include "llvm/ADT/SmallString.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/raw_ostream.h" #include "gtest/gtest.h" usingnamespacellvm; usingnamespaceclang; namespace { class PreambleInNamedModulesTest : public ::testing::Test { … }; // Testing that the use of Preamble in named modules can work basically. // See https://github.com/llvm/llvm-project/issues/80570 TEST_F(PreambleInNamedModulesTest, BasicTest) { … } } // namespace