// SPDX-License-Identifier: LGPL-3.0-only // SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts® // Fixture for the AST layer's export-blanking pass, copied to a scratch dir as // Demo.cppm by tests/Lint. The .cppm.in suffix keeps the build's module-import // scanner from treating it as a real interface of this project — the same // convention tests/IncrementalInterfaceChange uses. // // libclang maps a C++20 export declaration to a childless // CXCursor_UnexposedDecl and does not descend into it, so every declaration // below is invisible unless the `export` keywords are blanked first. Line // numbers are asserted, so do not reflow this file. export module Demo; export namespace Demo { enum class Mode { On, Off }; struct Widget { int count; }; export int Exported = 1; }