https://issues.dlang.org/show_bug.cgi?id=22335

Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from Walter Bright <[email protected]> ---
The current master emits this:

---
// D import file generated from 'dll.d'
module dll;
export extern __gshared int x;
extern (Windows) int DllMain(void*, uint, void*);
---

And your example is now working!

--

Reply via email to