18 lines
493 B
C++
18 lines
493 B
C++
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
||
|
|
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||
|
|
|
||
|
|
import std;
|
||
|
|
|
||
|
|
int A();
|
||
|
|
int B();
|
||
|
|
int Shared();
|
||
|
|
extern "C" int AUnit(void);
|
||
|
|
extern "C" int BUnit(void);
|
||
|
|
extern "C" int BThingInC(void);
|
||
|
|
|
||
|
|
// Prints what each of the other sources returns, a/Thing.cpp's first: every
|
||
|
|
// one of them has to be in the program, and as it stands now.
|
||
|
|
int main() {
|
||
|
|
std::printf("%d %d %d %d %d %d", A(), B(), AUnit(), BUnit(), BThingInC(), Shared());
|
||
|
|
return 0;
|
||
|
|
}
|