https://issues.dlang.org/show_bug.cgi?id=23126
--- Comment #6 from kdevel <kde...@vogtner.de> --- (In reply to kdevel from comment #4) > (In reply to Siarhei Siamashka from comment #3) > > (In reply to kdevel from comment #2) > > > Works since dmd 2.101.1. > > > > Does the DMD test suite have a test for it? To ensure that this problem does > > not re-appear again in the future. > Simple question, not easy to answer. It was fixed between v2.101.0 and v2.101.1 (named "bad" commit because of inverted roles): d836c8bcec16205644e3aacf15f1a1cf7d655dd5 is the first bad commit commit d836c8bcec16205644e3aacf15f1a1cf7d655dd5 Author: mhh <maxha...@gmail.com> Date: Thu Dec 15 06:15:28 2022 +0000 Fix Issue 23549, 22587 - Lower certain noreturn expressions to a comma expression rather than a cast. This avoids a backend segfault. GDC already does this lowering so it may have to be made optional via a frontend parameter. :040000 040000 29998096bd165299cd08f15f32ab2dd047461bd8 70e6048af4184c4d4edb72add21fcbb0dac57957 M compiler --