dmd/compiler/test/runnable/b17073.d
2022-07-09 18:53:07 +02:00

13 lines
118 B
D

struct S0
{
int x = void;
}
struct S1
{
S0 x = S0(42);
}
void main()
{
S1 x;
assert(x.x.x == 42);
}