Mercurial > projects > dstress
view nocompile/b/bug_toir_170_A.d @ 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 | |
children |
line wrap: on
line source
// $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; }; } } }