Mercurial > projects > dstress
changeset 957:9aaa845bab65
<nail-mail@mail.ru>
2006-04-04
news:bug-83-3@http.d.puremagic.com/bugzilla/
author | thomask |
---|---|
date | Mon, 10 Apr 2006 04:59:12 +0000 |
parents | 0cfa157e0782 |
children | 80e1b85295b3 |
files | nocompile/m/mixin_19_A.d nocompile/m/mixin_19_B.d nocompile/m/mixin_19_C.d nocompile/m/mixin_19_D.d nocompile/m/mixin_19_E.d nocompile/m/mixin_19_F.d nocompile/m/mixin_19_G.d nocompile/m/mixin_19_H.d nocompile/m/mixin_19_I.d nocompile/m/mixin_19_J.d nocompile/m/mixin_19_K.d nocompile/m/mixin_19_L.d nocompile/m/mixin_19_M.d nocompile/m/mixin_19_N.d |
diffstat | 14 files changed, 518 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_A.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,39 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_A; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +class C(alias M1){ + mixin T1!(); +} + +void main(){ + auto c = new C!(T1); + c.myproperty = 3; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_B.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,39 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_B; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +class C(alias M1){ + mixin M1!(); +} + +void main(){ + auto c = new C!(T1); + c.myproperty = 3; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_C.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,39 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_C; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +class C{ + mixin T1!(); +} + +void main(){ + auto c = new C(); + c.myproperty = 3; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_D.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,39 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_D; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +class C{ + mixin T2!(); +} + +void main(){ + auto c = new C(); + c.myproperty = 3; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_E.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,40 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_E; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +class C{ + mixin T1!(); + mixin T2!(); +} + +void main(){ + auto c = new C(); + c.myproperty = 3; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_F.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,40 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_F; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +class C(alias M1, alias M2){ + mixin T1!(); + mixin T2!(); +} + +void main(){ + auto c = new C!(T1, T2)(); + c.myproperty = 3; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_G.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,40 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_G; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +class C(alias M1, alias M2){ + mixin M1!(); + mixin M2!(); +} + +void main(){ + auto c = new C!(T1, T2)(); + c.myproperty = 3; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_H.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,32 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_H; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +mixin T1!(); +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_I.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,32 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_H; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +mixin T2!(); +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_J.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,33 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_J; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +mixin T1!(); +mixin T2!(); +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_K.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,33 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_K; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +alias T1 M1; +mixin M1!(); +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_L.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,34 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_L; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +mixin M1!(); + +alias T1 M1; +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_M.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,39 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_M; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +struct C(alias M1){ + mixin T1!(); +} + +void main(){ + C!(T1)* c = new C!(T1); + c.myproperty = 3; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/m/mixin_19_N.d Mon Apr 10 04:59:12 2006 +0000 @@ -0,0 +1,39 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <nail-mail@mail.ru> +// @date@ 2006-04-04 +// @uri@ news:bug-83-3@http.d.puremagic.com/bugzilla/ + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.m.mixin_19_N; + +int state; + +template T1(){ + alias T2!().myproperty myproperty; + + int myproperty(){ + return state; + } +} + +template T2(){ + alias T1!().myproperty myproperty; + + void myproperty(int x){ + state = x; + } +} + +struct C(alias M1){ + mixin M1!(); +} + +void main(){ + C!(T1)* c = new C!(T1); + c.myproperty = 3; +} +