https://issues.dlang.org/show_bug.cgi?id=17622
--- Comment #6 from Vladimir Panteleev <dlang-bugzi...@thecybershadow.net> --- Reduced: //////// test.d /////// struct S { int i; this(ubyte) { return; } void fun() { assert(i == 0); } } S make() { return S(0); } void main() { S s = make(); auto rdg = { s.fun(); }; s.fun(); } /////////////////////// --