"Iain Buclaw via Digitalmars-d" wrote in message news:[email protected]...

I'd say bug in dmc.

Yeah I'm thinking so, fun. It looks like dmc sets up the code to copy the struct into the variable but never bothers emitting the loop/movsds.

What about this:

struct S
{
}

void main()
{
   S a = void;
   S b = void;
   assert(a == b); // Should this ever fail?
}

Reply via email to