# HG changeset patch # User thomask # Date 1118328453 0 # Node ID 139307e27398e438d6e0af814252f6fc0e7cef20 # Parent 7e8bf1090f62d1b76fcc234c549845110c3cd2d5 Nested struct non-static initializer crash Jarrett Billingsley 2005-06-08 news:d88a8a$4b3$1@digitaldaemon.com diff -r 7e8bf1090f62 -r 139307e27398 nocompile/n/new_23.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/n/new_23.d Thu Jun 09 14:47:33 2005 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Jarrett Billingsley +// @date@ 2005-06-08 +// @uri@ news:d88a8a$4b3$1@digitaldaemon.com +// @desc@ nested struct non-static initializer crash + +// __DSTRESS_ELINE__ 19 + +module dstress.nocompile.n.new_23; + +class A{ + + class B{ + } + + B b=new B; +} diff -r 7e8bf1090f62 -r 139307e27398 nocompile/n/new_24.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/n/new_24.d Thu Jun 09 14:47:33 2005 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Jarrett Billingsley +// @date@ 2005-06-08 +// @uri@ news:d88a8a$4b3$1@digitaldaemon.com +// @desc@ Nested struct non-static initializer crash + +// __DSTRESS_ELINE__ 19 + +module dstress.nocompile.n.new_24; + +struct A{ + + class B{ + } + + B b=new B; +}