[Issue 18821] DMD segfault 2.080

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 14 16:05:11 UTC 2018


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

--- Comment #4 from Mr. Smith <mrsmith33 at yandex.ru> ---
Reduced to this:

```
module test18821;

import std.experimental.allocator : makeArray;
import core.sys.linux.epoll;

class MmapPool
{
    static MmapPool instance()
    {
        return null;
    }
}

void test()
{
    epoll_event[] events = MmapPool.instance.makeArray!epoll_event(0);
}
```

--


More information about the Digitalmars-d-bugs mailing list