https://issues.dlang.org/show_bug.cgi?id=16270
kinke <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |WORKSFORME --- Comment #1 from kinke <[email protected]> --- I'm not sure whether this hasn't worked in the past, but it now definitely does: ``` struct S { align(4) { byte a; short b; bool c; } ulong d; } static assert(S.a.offsetof == 0); static assert(S.b.offsetof == 4); static assert(S.c.offsetof == 8); static assert(S.d.offsetof == 16); ``` --
