https://issues.dlang.org/show_bug.cgi?id=16563
Issue ID: 16563 Summary: [REG HEAD] Wrong struct size/alignment in local struct Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: wrong-code Severity: regression Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: thecybersha...@gmail.com /////////////// test.d ////////////// void test() { align(1) struct S { uint i; ubyte b; static assert(S.sizeof == 5); } } ///////////////////////////////////// Introduced in https://github.com/dlang/dmd/pull/5880. --