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

--- Comment #4 from Mr. Smith <mrsmit...@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);
}
```

--

Reply via email to