Mercurial > projects > dstress
changeset 234:7363b2c5e738
struct recursion
Stewart Gordon <smjg_1998@yahoo.com>
2005-01-12
news:cs2u76$18jn$1@digitaldaemon.com
nttp://news.digitalmars.com/digitalmars.D.bugs/2674
author | thomask |
---|---|
date | Wed, 12 Jan 2005 13:42:43 +0000 |
parents | 4f2cada445c3 |
children | a6ffcb7cfc2b |
files | compile/struct_19.d compile/struct_20.d |
diffstat | 2 files changed, 32 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/struct_19.d Wed Jan 12 13:42:43 2005 +0000 @@ -0,0 +1,14 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Stewart Gordon <smjg_1998@yahoo.com> +// @date@ 2005-01-12 +// @uri@ news:cs2u76$18jn$1@digitaldaemon.com +// @url@ nttp://news.digitalmars.com/digitalmars.D.bugs/2674 + +module dstress.compile.struct_19; + +struct MyStruct { + MyStruct s; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/struct_20.d Wed Jan 12 13:42:43 2005 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Stewart Gordon <smjg_1998@yahoo.com> +// @date@ 2005-01-12 +// @uri@ news:cs2u76$18jn$1@digitaldaemon.com +// @url@ nttp://news.digitalmars.com/digitalmars.D.bugs/2674 + +module dstress.compile.struct_20; + +struct StructA { + StructB b; +} + +struct StructB { + StructA a; +}