Mercurial > projects > dstress
changeset 463:678432b755c1
private/static
imr1984 <imr1984_member@pathlink.com>
2005-04-20
news:d45a07$2qit$1@digitaldaemon.com
author | thomask |
---|---|
date | Wed, 20 Apr 2005 12:51:35 +0000 |
parents | 5395efb1ed31 |
children | 58cc6e103138 |
files | addon/private_05_A.d nocompile/private_05.d nocompile/private_06.d |
diffstat | 3 files changed, 53 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/addon/private_05_A.d Wed Apr 20 12:51:35 2005 +0000 @@ -0,0 +1,14 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ imr1984 <imr1984_member@pathlink.com> +// @date@ 2005-04-20 +// @uri@ news:d45a07$2qit$1@digitaldaemon.com + +module dstress.addon.private_05_A; + + +class MyClass{ + private static int dummy; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/private_05.d Wed Apr 20 12:51:35 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ imr1984 <imr1984_member@pathlink.com> +// @date@ 2005-04-20 +// @uri@ news:d45a07$2qit$1@digitaldaemon.com + +// __DSTRESS_DFLAGS__ addon/private_05_A.d +// __DSTRESS_ELINE__ 17 + +module dstress.nocompile.private_05; + +import dstress.addon.private_05_A; + +void test(){ + int i=MyClass.dummy; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/private_06.d Wed Apr 20 12:51:35 2005 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ imr1984 <imr1984_member@pathlink.com> +// @date@ 2005-04-20 +// @uri@ news:d45a07$2qit$1@digitaldaemon.com + +// __DSTRESS_DFLAGS__ addon/private_05_A.d +// __DSTRESS_ELINE__ 18 + +module dstress.nocompile.private_06; + +import dstress.addon.private_05_A; + +void test(){ + MyClass c=new MyClass; + int i=c.dummy; +} +