Sorry, is this not already the case? $ dmd test.d $ cat test.d void main() { import std.stdio; writeln("Hello, world!"); }unittest { foo bar {} baz more-syntax!errors)blah } $ dmd test.d $ ./test Hello, world!
Alright then, it looks like it is :) I was asking for SDC.