Mercurial > projects > dstress
changeset 572:139307e27398
Nested struct non-static initializer crash
Jarrett Billingsley <kb3ctd2@yahoo.com>
2005-06-08
news:d88a8a$4b3$1@digitaldaemon.com
author | thomask |
---|---|
date | Thu, 09 Jun 2005 14:47:33 +0000 |
parents | 7e8bf1090f62 |
children | 56951036e398 |
files | nocompile/n/new_23.d nocompile/n/new_24.d |
diffstat | 2 files changed, 40 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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 <kb3ctd2@yahoo.com> +// @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; +}
--- /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 <kb3ctd2@yahoo.com> +// @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; +}