diff options
Diffstat (limited to 'test cases/d/7 multilib/say1.d')
-rw-r--r-- | test cases/d/7 multilib/say1.d | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test cases/d/7 multilib/say1.d b/test cases/d/7 multilib/say1.d new file mode 100644 index 0000000..605fd23 --- /dev/null +++ b/test cases/d/7 multilib/say1.d @@ -0,0 +1,15 @@ + +import std.stdio; +import std.string : format; + +export int sayHello1 (string str) +{ + writeln ("Hello %s from library 1.".format (str)); + return 4; +} + +version (Windows) +{ + import core.sys.windows.dll; + mixin SimpleDllMain; +} |