From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- meson/test cases/d/7 multilib/say2.d | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meson/test cases/d/7 multilib/say2.d (limited to 'meson/test cases/d/7 multilib/say2.d') diff --git a/meson/test cases/d/7 multilib/say2.d b/meson/test cases/d/7 multilib/say2.d new file mode 100644 index 000000000..7270ebd22 --- /dev/null +++ b/meson/test cases/d/7 multilib/say2.d @@ -0,0 +1,15 @@ + +import std.stdio; +import std.string : format; + +export int sayHello2 (string str) +{ + writeln ("Hello %s from library 2.".format (str)); + return 8; +} + +version (Windows) +{ + import core.sys.windows.dll; + mixin SimpleDllMain; +} -- cgit 1.2.3-korg