https://issues.dlang.org/show_bug.cgi?id=20957
Issue ID: 20957
Summary: void member initialisation is ignored for out struct
parameters
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
struct A
{
bool sign;
int length;
size_t[256] data = void;
}
void foo(out A a)
{
}
void example.foo(out example.A):
mov edx, 2056
xor esi, esi
jmp memset@PLT
--
