Mercurial > projects > dstress
changeset 220:8fa24d6682cd
forward references
Chris Newton <redshodan@dot.gmail.dot.dooot.com>
2004-12-29
news:cqv5vu$1l76$1@digitaldaemon.com
nntp://digitalmars.com/digitalmars.D.bugs/2621
author | thomask |
---|---|
date | Thu, 30 Dec 2004 11:03:48 +0000 |
parents | 249516e487f9 |
children | 62221b7d401e |
files | addon/forward_reference_03_A.d addon/forward_reference_03_B.d compile/forward_reference_03.d compile/forward_reference_04.d compile/forward_reference_05.d compile/forward_reference_06.d |
diffstat | 6 files changed, 57 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/addon/forward_reference_03_A.d Thu Dec 30 11:03:48 2004 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Chris Newton <redshodan@dot.gmail.dot.dooot.com> +// @date@ 2004-12-29 +// @uri@ news:cqv5vu$1l76$1@digitaldaemon.com +// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2621 + +module addon.forward_reference_03_A; + +import addon.forward_reference_03_B; + +class MyClassA{ + MyClassB.Foo foo; + MyClassB test3b; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/addon/forward_reference_03_B.d Thu Dec 30 11:03:48 2004 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Chris Newton <redshodan@dot.gmail.dot.dooot.com> +// @date@ 2004-12-29 +// @uri@ news:cqv5vu$1l76$1@digitaldaemon.com +// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2621 + +module addon.forward_reference_03_B; + +import addon.forward_reference_03_A; + +class MyClassB{ + typedef int Foo; + + MyClassA test3a; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/forward_reference_03.d Thu Dec 30 11:03:48 2004 +0000 @@ -0,0 +1,5 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_DFLAGS__ addon/forward_reference_03_A.d addon/forward_reference_03_B.d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/forward_reference_04.d Thu Dec 30 11:03:48 2004 +0000 @@ -0,0 +1,5 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_DFLAGS__ addon/forward_reference_03_B.d addon/forward_reference_03_A.d