Crafter.Build/tests/StaticLibSourceRemoved/fixture/main.cpp

13 lines
321 B
C++
Raw Normal View History

// 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;
}