summaryrefslogtreecommitdiffstats
path: root/test cases/d/7 multilib/say1.d
blob: 605fd23552980a232d3c518502e13c714e0a70cd (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 sayHello1 (string str)
{
    writeln ("Hello %s from library 1.".format (str));
    return 4;
}

version (Windows)
{
    import core.sys.windows.dll;
    mixin SimpleDllMain;
}