--- #!dmd -O void t() { auto a = A(false ? B().p : null); } struct A { void* p; } struct B { void* p; ~this() {} } ---
@RazvanN7 created dlang/dmd pull request #10630 "Fix Issue 20415 - ice in dwarfeh and when optimizations are enabled" fixing this issue: - Fix Issue 20415 - ice in dwarfeh and when optimizations are enabled https://github.com/dlang/dmd/pull/10630
This is a regression from 2.069.2
fixed at some point
dlang/dmd pull request #12285 "issue 20415 - add test case" was merged into master: - a569c2b3297b7058865f4c0dc47ca09b7d1dcd70 by Basile Burg: issue 20415 - add test case Issue closed as WORKSFORME because it was fixed at some point. Add the original test case in case of. https://github.com/dlang/dmd/pull/12285