// SPDX-License-Identifier: LGPL-3.0-only // SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts® // Imports Extra when the build defines CRAFTER_TEST_EXTRA, which the test // does after it lists this source. #ifdef CRAFTER_TEST_EXTRA import Extra; #endif // Exits with 40 when CRAFTER_TEST_EXTRA is defined, 2 when it is not. int main() { #ifdef CRAFTER_TEST_EXTRA return ExtraValue(); #else return 2; #endif }