Mercurial > projects > dstress
changeset 951:1a05061a48b9
<thomas-dloop@kuehne.cn>
2006-04-09
news:bug-94-3@http.d.puremagic.com/bugzilla/
author | thomask |
---|---|
date | Sat, 08 Apr 2006 19:06:31 +0000 |
parents | fd579aa6ff7e |
children | b0772904ed4e |
files | run/o/object_01_A.d run/o/object_01_B.d run/o/object_01_C.d run/o/object_01_D.d run/o/object_01_E.d run/o/object_01_F.d |
diffstat | 6 files changed, 162 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/object_01_A.d Sat Apr 08 19:06:31 2006 +0000 @@ -0,0 +1,27 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <thomas-dloop@kuehne.cn> +// @date@ 2006-04-09 +// @uri@ news:bug-94-3@http.d.puremagic.com/bugzilla/ + +module dstress.run.o.object_01_A; + +class Object{ + int someVar; +} + +int main(){ + dstress.run.o.object_01_A.Object o = new dstress.run.o.object_01_A.Object(); + + assert(o); + + o.someVar = 2; + + if(o.someVar != 2){ + assert(0); + } + + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/object_01_B.d Sat Apr 08 19:06:31 2006 +0000 @@ -0,0 +1,27 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <thomas-dloop@kuehne.cn> +// @date@ 2006-04-09 +// @uri@ news:bug-94-3@http.d.puremagic.com/bugzilla/ + +module dstress.run.o.object_01_B; + +class Object{ + int someVar; +} + +int main(){ + dstress.run.o.object_01_B.Object o = new Object(); + + assert(o); + + o.someVar = 2; + + if(o.someVar != 2){ + assert(0); + } + + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/object_01_C.d Sat Apr 08 19:06:31 2006 +0000 @@ -0,0 +1,27 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <thomas-dloop@kuehne.cn> +// @date@ 2006-04-09 +// @uri@ news:bug-94-3@http.d.puremagic.com/bugzilla/ + +module dstress.run.o.object_01_C; + +class Object{ + int someVar; +} + +int main(){ + Object o = new dstress.run.o.object_01_C.Object(); + + assert(o); + + o.someVar = 2; + + if(o.someVar != 2){ + assert(0); + } + + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/object_01_D.d Sat Apr 08 19:06:31 2006 +0000 @@ -0,0 +1,27 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <thomas-dloop@kuehne.cn> +// @date@ 2006-04-09 +// @uri@ news:bug-94-3@http.d.puremagic.com/bugzilla/ + +module dstress.run.o.object_01_D; + +class Object{ + int someVar; +} + +int main(){ + Object o = new Object(); + + assert(o); + + o.someVar = 2; + + if(o.someVar != 2){ + assert(0); + } + + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/object_01_E.d Sat Apr 08 19:06:31 2006 +0000 @@ -0,0 +1,27 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <thomas-dloop@kuehne.cn> +// @date@ 2006-04-09 +// @uri@ news:bug-91-3@http.d.puremagic.com/bugzilla/ + +module dstress.run.o.object_01_E; + +class Object{ + int someVar; +} + +int main(){ + auto o = new dstress.run.o.object_01_E.Object(); + + assert(o); + + o.someVar = 2; + + if(o.someVar != 2){ + assert(0); + } + + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/o/object_01_F.d Sat Apr 08 19:06:31 2006 +0000 @@ -0,0 +1,27 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <thomas-dloop@kuehne.cn> +// @date@ 2006-04-09 +// @uri@ news:bug-91-3@http.d.puremagic.com/bugzilla/ + +module dstress.run.o.object_01_F; + +class Object{ + int someVar; +} + +int main(){ + auto o = new Object(); + + assert(o); + + o.someVar = 2; + + if(o.someVar != 2){ + assert(0); + } + + return 0; +}