# HG changeset patch # User thomask # Date 1173371104 0 # Node ID 51ad523322becf38398a57aeebe73cda360c5515 # Parent 8cbb1b6de2a3bb7a9d022a18f2945aff60d74664 [Issue 1030] ICE one-liner; struct in delegate downs 2007-03-07 http://d.puremagic.com/issues/show_bug.cgi?id=1030 diff -r 8cbb1b6de2a3 -r 51ad523322be nocompile/s/struct_29_A.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/struct_29_A.d Thu Mar 08 16:25:04 2007 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ downs +// @date@ 2007-03-07 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1030 +// @desc@ [Issue 1030] ICE one-liner; struct in delegate + +module dstress.nocompile.s.struct_29_A; + +void main() { + void delegate() test = { + struct test2{ + ; + } + }; +} diff -r 8cbb1b6de2a3 -r 51ad523322be nocompile/s/struct_29_B.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/s/struct_29_B.d Thu Mar 08 16:25:04 2007 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ downs +// @date@ 2007-03-07 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1030 +// @desc@ [Issue 1030] ICE one-liner; struct in delegate + +module dstress.nocompile.s.struct_29_B; + +void main() { + struct test1{} + void delegate() test = { + struct test2{ + } + }; +}