https://issues.dlang.org/show_bug.cgi?id=21164
--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #11971 "[dmd-cxx] Backport fixes for Issue 18970 and 21164" was merged into dmd-cxx: - cb42c98a9514f7366857f78379c6133c1e6bb098 by Stefan Koch: Fix 21164 - segfault on incomplete static if With this change we now check for the existance of a static if condition and will only proceed if there is one. The test doesn't use the imports folder due to problems with path changes on the error message for windows. https://github.com/dlang/dmd/pull/11971 --