On Friday, 10 August 2018 at 11:10:55 UTC, learnfirst1 wrote: > Still, if my first example is use GC, why dmd not throw error > at compile time, instead at link time report symbols is > missing. Is this a bug ? If you make your main function @nogc, you will get a compile-time error.