Comment #0 by opantm2+dbugs — 2014-06-16T07:41:36Z
Sample:
struct Foo {
union { }
int bar;
}
Output:
dmd: argtypes.c:405: virtual void toArgTypes(Type*)::ToArgTypes::visit(TypeStruct*): Assertion `t1 || f->offset == 0' failed.
Aborted (core dumped)
While the above example is fairly useless seeming, it makes more sense with variable length templates to generate a union.