[Issue 19890] ICE: Segmentation fault with negative array size

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 21 19:42:11 UTC 2019


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

--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Casting to void[int.max] causes the backend to run out of memory.

void[] f = cast(void[int.max]) "a";

--


More information about the Digitalmars-d-bugs mailing list