https://issues.dlang.org/show_bug.cgi?id=24193
Walter Bright <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Walter Bright <[email protected]> --- The following: ``` union U { struct S { int a,b; } S data; int type:8; } pragma(msg, U.S.sizeof); pragma(msg, U.sizeof); ``` prints: 8LU 4LU Which is, of course, wrong. Curiously, if `int a,b;` is replaced with `long x;`, it prints: 8LU 8LU --
