blob: 277a3e56df8c5bdc8d13ce28379aab5b6b06164e [file] [log] [blame]
// https://issues.dlang.org/show_bug.cgi?id=20710
// with empty array literal
immutable A a = A(B([]));
immutable B b = a.b;
struct A {
B b;
}
struct B {
int[] c;
}
// with empty struct literal
immutable C c = C(D());
immutable D d = c.d;
struct C {
D d;
}
struct D {
}