[Issue 20693] align(N): larger than 2^^30 causes unexpected behavior

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 24 01:40:29 UTC 2020


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

--- Comment #1 from Hiroki Noda <kubo39 at gmail.com> ---
ShlExp also.

----
align(1 << 31) struct S {};  // Error: alignment must be an integer positive
power of 2, not -2147483648
----

--


More information about the Digitalmars-d-bugs mailing list