Running unittests of a module with -betterC

Per Nordlöw per.nordlow at gmail.com
Mon Oct 28 08:39:36 UTC 2019


Is it possible to run the unittests of a module with -betterC like

     dmd -D -g -main -unittest -betterC f.d

?

This currently errors as

/usr/include/dmd/druntime/import/core/internal/entrypoint.d:34: 
error: undefined reference to '_d_run_main'

for an empty file f.d


More information about the Digitalmars-d-learn mailing list