On Monday, 26 November 2012 at 03:23:42 UTC, Geancarlo wrote: > Hello, I'm using DMD32 D Compiler v2.060 for on Windows. > > writeln(TestStruct.x.offsetof);//bug here > This works without creating your own instance: writeln(TestStruct.init.x.offsetof); Thanks Dan