12 lines
324 B
C++
12 lines
324 B
C++
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
||
|
|
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||
|
|
|
||
|
|
import std;
|
||
|
|
import Greeter;
|
||
|
|
|
||
|
|
// -r runs this in its own directory, where it leaves what it would have
|
||
|
|
// printed for the test to find.
|
||
|
|
int main() {
|
||
|
|
std::ofstream("hello.ran") << Greeter::Greet("world");
|
||
|
|
return 0;
|
||
|
|
}
|