Crafter.Build/tests/SharedLibraryRuns/fixture/greet/Greet.cppm
Jorijn van der Graaf 0cf2f629eb
test: a program built on a shared library starts
SharedLibraryRuns builds an executable on a LibraryDynamic dependency
and runs it, from its fixture and again from a directory whose name
holds a comma. Before the fix it failed at start with "libgreet.so:
cannot open shared object file".
2026-11-07 19:24:12 +01:00

9 lines
211 B
C++

// SPDX-License-Identifier: LGPL-3.0-only
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
export module Greet;
import std;
export std::string Greeting() {
return "hello from a shared library";
}