https://issues.dlang.org/show_bug.cgi?id=23974
--- Comment #3 from Walter Bright <[email protected]> --- (In reply to Walter Bright from comment #2) > A module is imported (and outside the binary) when it contains exported > declarations: > > export extern int x = 3; > > export int foo(); Argh, I mean: module mydll; export extern __gshared int x; export int foo(); and then mydll is imported. --
