struct SS { char a, b[2]; }; struct S { struct SS ss; char d; }; static struct S s = { 1, 2, 3, 4 }; should result in data of 1,2,3,4 but produces 1,2,2,3
dlang/dmd pull request #14455 "fix Issue 23348 - not handling braceless sub structs in initializers" was merged into master: - 404a4af2486779dec0dec77a4a72c9097fe1068a by Walter Bright: fix Issue 23348 - not handling braceless sub structs in initializers https://github.com/dlang/dmd/pull/14455