aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/d/7 multilib/say2.d
blob: 7270ebd22c12cbc2dad4d87d80cc17f499244a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
}