snazzy-d/sdc

Add support for anonymous structs/unions

Opened this issue · 1 comments

struct S {
    struct { int a; } aa;
}

This kind of construct is legal in D, not not handled properly right now.

DMD does not compile that.
the inner ananymous struct cannot be the type of a member variable;
struct S { struct { int a; } }
would be supported.