[Issue 18242] DMD Segmentation fault.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 16 03:08:18 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18242
--- Comment #1 from changlon <changlon at 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
--
More information about the Digitalmars-d-bugs
mailing list