13 lines
452 B
Text
13 lines
452 B
Text
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
||
|
|
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||
|
|
|
||
|
|
module;
|
||
|
|
// Every source in this fixture carries a #warning: -W#warnings is on by
|
||
|
|
// default, so each unit produces diagnostics on stderr and still exits 0.
|
||
|
|
// That is the whole point — the build has to read the exit status, not the
|
||
|
|
// chatter.
|
||
|
|
#warning "interface unit is noisy"
|
||
|
|
export module Widget;
|
||
|
|
import std;
|
||
|
|
|
||
|
|
export std::int32_t WidgetValue();
|