Mercurial > projects > dstress
changeset 1354:aedfc4673dbd
[Issue 852] ICE in dmd with anon. delegate in static class ctor in unittest
Daniel Keep <daniel.keep+d.puremagic.com@gmail.com>
2007-01-17
http://d.puremagic.com/issues/show_bug.cgi?id=852
author | thomask |
---|---|
date | Fri, 23 Feb 2007 22:33:02 +0000 |
parents | 2bd75a859716 |
children | 96782506cee0 |
files | nocompile/b/bug_toir_170_A.d nocompile/b/bug_toir_170_B.d reporter.txt |
diffstat | 3 files changed, 39 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/b/bug_toir_170_A.d Fri Feb 23 22:33:02 2007 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Daniel Keep <daniel.keep+d.puremagic.com@gmail.com> +// @date@ 2007-01-17 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=852 +// @desc@ [Issue 852] ICE in dmd with anon. delegate in static class ctor in unittest + +module dstress.nocompile.b.bug_toir_170_A; + +void test(){ + class Foo{ + static this(){ + auto i = { + return new Foo; + }; + } + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/b/bug_toir_170_B.d Fri Feb 23 22:33:02 2007 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Daniel Keep <daniel.keep+d.puremagic.com@gmail.com> +// @date@ 2007-01-17 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=852 +// @desc@ [Issue 852] ICE in dmd with anon. delegate in static class ctor in unittest + +module dstress.nocompile.b.bug_toir_170_B; + +void test(){ + class Foo{ + static this(){ + auto i = new Foo(); + } + } +}
--- a/reporter.txt Fri Feb 23 22:32:19 2007 +0000 +++ b/reporter.txt Fri Feb 23 22:33:02 2007 +0000 @@ -46,6 +46,7 @@ Dave <godaves@yahoo.com> david <davidl@126.com> David Friedman <d3rdclsmail_a_@_t_earthlink_d_._t_net>, <dvdfrdmn@users.sf.net> +Daniel Keep <daniel.keep+d.puremagic.com@gmail.com> David L. Davis <SpottedTiger@yahoo.com> David Medlock <amedlock@nospam.org>, <noone@nowhere.com> dennis luehring <dl.soluz@gmx.net>