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

--- Comment #3 from Iain Buclaw <[email protected]> ---
You're allocating an array that takes up more than half the address space, so
that is already pretty dubious.

Note: this is the case on 64-bit too if you request an array size bigger than
`long.max`.


auto arr = new char [1u + long.max];
// Error: negative array dimension `1LU + 9223372036854775807LU`

--

Reply via email to