https://issues.dlang.org/show_bug.cgi?id=18242
--- Comment #1 from changlon <chang...@gmail.com> --- /** * This code is based on Adam D. Ruppe $(LINK2 http://arsdnet.net/dcode/minimal.zip minimal.zip). * Probably Boost licensed */ module object; /// All D class objects inherit from Object. class Object { } /// The base class of all thrown objects. class Throwable { } int _d_run_main() { int result = void; try result = 1; catch(Throwable e) _d_print_throwable; } ============== dmd -defaultlib= -debuglib= object.d --