https://issues.dlang.org/show_bug.cgi?id=5091
--- Comment #14 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
These days I just use:
-----
import std.stdio;
version (unittest) void main() { writeln("Tests finished"); }
else:
void main ( string[] args )
{
// ..
}
-----
It doesn't look too ugly.
--