13 lines
321 B
C++
13 lines
321 B
C++
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
||
|
|
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||
|
|
|
||
|
|
import std;
|
||
|
|
|
||
|
|
int Value();
|
||
|
|
|
||
|
|
// Prints what the library's Value() returns: 1 from lib/first.cpp, 2 from
|
||
|
|
// lib/second.cpp, whichever the library was built from.
|
||
|
|
int main() {
|
||
|
|
std::printf("%d", Value());
|
||
|
|
return 0;
|
||
|
|
}
|