aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/d/7 multilib/say2.d
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/d/7 multilib/say2.d')
-rw-r--r--meson/test cases/d/7 multilib/say2.d15
1 files changed, 15 insertions, 0 deletions
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;
+}