Mercurial > projects > dstress
changeset 997:b87623b56a7f
<benoit@tionex.de>
2006-05-10
news:bug-133-3@http.d.puremagic.com/bugzilla/
author | thomask |
---|---|
date | Mon, 15 May 2006 04:22:53 +0000 |
parents | 1d695c74f398 |
children | 94714c219f3b |
files | run/c/class_23_A.d run/c/class_23_B.d run/c/class_23_C.d run/c/class_23_D.d |
diffstat | 4 files changed, 116 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/c/class_23_A.d Mon May 15 04:22:53 2006 +0000 @@ -0,0 +1,29 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <benoit@tionex.de> +// @date@ 2006-05-10 +// @uri@ news:bug-133-3@http.d.puremagic.com/bugzilla/ + +module dstress.run.c.class_23_A; + +class FooT(V){ +} + +class Bar : FooT!(int) { +} + +class Foo : Bar { +} + +int main(){ + Foo f = new Foo(); + + if(!f){ + assert(0); + } + + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/c/class_23_B.d Mon May 15 04:22:53 2006 +0000 @@ -0,0 +1,29 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <benoit@tionex.de> +// @date@ 2006-05-10 +// @uri@ news:bug-133-3@http.d.puremagic.com/bugzilla/ + +module dstress.run.c.class_23_B; + +class Foo : Bar { +} + +class FooT(V){ +} + +class Bar : FooT!(int) { +} + +int main(){ + Foo f = new Foo(); + + if(!f){ + assert(0); + } + + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/c/class_23_C.d Mon May 15 04:22:53 2006 +0000 @@ -0,0 +1,29 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <benoit@tionex.de> +// @date@ 2006-05-10 +// @uri@ news:bug-133-3@http.d.puremagic.com/bugzilla/ + +module dstress.run.c.class_23_C; + +class Foo : Bar { +} + +class Bar : FooT!(int) { +} + +class FooT(V){ +} + +int main(){ + Foo f = new Foo(); + + if(!f){ + assert(0); + } + + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/c/class_23_D.d Mon May 15 04:22:53 2006 +0000 @@ -0,0 +1,29 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <benoit@tionex.de> +// @date@ 2006-05-10 +// @uri@ news:bug-133-3@http.d.puremagic.com/bugzilla/ + +module dstress.run.c.class_23_D; + +class FooT(V){ +} + +class Foo : Bar { +} + +class Bar : FooT!(int) { +} + +int main(){ + Foo f = new Foo(); + + if(!f){ + assert(0); + } + + return 0; +} +