https://issues.dlang.org/show_bug.cgi?id=23312 --- Comment #3 from Perry <alex at perry.express> --- Thanks I'll use main as a workaround. I'd argue this is still a bug, pretty sure in C/C++ the output would silently fail rather than outright crash. --