Mercurial > projects > dstress
changeset 647:414e94a6862d
James Dunne <james.jdunne@gmail.com>
2005-08-28
news:dethn0$1gn8$1@digitaldaemon.com
author | thomask |
---|---|
date | Mon, 29 Aug 2005 05:59:58 +0000 |
parents | 91287c8afc01 |
children | 9ff420cab661 |
files | run/b/bug_cgcs_353_A3.d run/b/bug_cgcs_353_B3.d run/b/bug_cgcs_353_C3.d run/b/bug_cgcs_353_D3.d run/b/bug_cgcs_353_E3.d run/b/bug_cgcs_353_F3.d run/b/bug_cgcs_353_G3.d run/b/bug_cgcs_353_H3.d run/b/bug_cgcs_353_I3.d run/b/bug_cgcs_353_J3.d run/b/bug_cgcs_353_K3.d run/b/bug_cgcs_353_L3.d |
diffstat | 12 files changed, 292 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_cgcs_353_A3.d Mon Aug 29 05:59:58 2005 +0000 @@ -0,0 +1,26 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ James Dunne <james.jdunne@gmail.com> +// @date@ 2005-08-28 +// @uri@ news:dethn0$1gn8$1@digitaldaemon.com + +module dstress.run.b.bug_cgcs_353_A3; + +class Foo { + this(){ + } +} + +int main(){ + Foo[] foos; + + assert(foos.length==0); + + foos = new Foo() ~ foos; + + assert(foos.length==1); + + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_cgcs_353_B3.d Mon Aug 29 05:59:58 2005 +0000 @@ -0,0 +1,26 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ James Dunne <james.jdunne@gmail.com> +// @date@ 2005-08-28 +// @uri@ news:dethn0$1gn8$1@digitaldaemon.com + +module dstress.run.b.bug_cgcs_353_B3; + +class Foo { + this(){ + } +} + +int main(){ + Foo[] foos; + + assert(foos.length==0); + + foos[] = new Foo() ~ foos[]; + + assert(foos.length==1); + + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_cgcs_353_C3.d Mon Aug 29 05:59:58 2005 +0000 @@ -0,0 +1,26 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ James Dunne <james.jdunne@gmail.com> +// @date@ 2005-08-28 +// @uri@ news:dethn0$1gn8$1@digitaldaemon.com + +module dstress.run.b.bug_cgcs_353_C; + +class Foo { + this(){ + } +} + +int main(){ + Foo[] foos; + + assert(foos.length==0); + + foos = foos ~ new Foo(); + + assert(foos.length==1); + + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_cgcs_353_D3.d Mon Aug 29 05:59:58 2005 +0000 @@ -0,0 +1,26 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ James Dunne <james.jdunne@gmail.com> +// @date@ 2005-08-28 +// @uri@ news:dethn0$1gn8$1@digitaldaemon.com + +module dstress.run.b.bug_cgcs_353_D3; + +class Foo { + this(){ + } +} + +int main(){ + Foo[] foos; + + assert(foos.length==0); + + foos[] = foos[] ~ new Foo(); + + assert(foos.length==1); + + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_cgcs_353_E3.d Mon Aug 29 05:59:58 2005 +0000 @@ -0,0 +1,21 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ James Dunne <james.jdunne@gmail.com> +// @date@ 2005-08-28 +// @uri@ news:dethn0$1gn8$1@digitaldaemon.com + +module dstress.run.b.bug_cgcs_353_E3; + +int main(){ + int[] foos; + + assert(foos.length==0); + + foos[] = foos[] ~ 3; + + assert(foos.length==1); + + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_cgcs_353_F3.d Mon Aug 29 05:59:58 2005 +0000 @@ -0,0 +1,21 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ James Dunne <james.jdunne@gmail.com> +// @date@ 2005-08-28 +// @uri@ news:dethn0$1gn8$1@digitaldaemon.com + +module dstress.run.b.bug_cgcs_353_F3; + +int main(){ + int[] foos; + + assert(foos.length==0); + + foos[] = 3 ~ foos[]; + + assert(foos.length==1); + + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_cgcs_353_G3.d Mon Aug 29 05:59:58 2005 +0000 @@ -0,0 +1,24 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ James Dunne <james.jdunne@gmail.com> +// @date@ 2005-08-28 +// @uri@ news:dethn0$1gn8$1@digitaldaemon.com + +module dstress.run.b.bug_cgcs_353_G3; + +struct Foo{ +} + +int main(){ + Foo*[] foos; + + assert(foos.length==0); + + foos[] = new Foo() ~ foos[]; + + assert(foos.length==1); + + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_cgcs_353_H3.d Mon Aug 29 05:59:58 2005 +0000 @@ -0,0 +1,24 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ James Dunne <james.jdunne@gmail.com> +// @date@ 2005-08-28 +// @uri@ news:dethn0$1gn8$1@digitaldaemon.com + +module dstress.run.b.bug_cgcs_353_H3; + +struct Foo{ +} + +int main(){ + Foo*[] foos; + + assert(foos.length==0); + + foos[] = foos[] ~ new Foo(); + + assert(foos.length==1); + + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_cgcs_353_I3.d Mon Aug 29 05:59:58 2005 +0000 @@ -0,0 +1,24 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ James Dunne <james.jdunne@gmail.com> +// @date@ 2005-08-28 +// @uri@ news:dethn0$1gn8$1@digitaldaemon.com + +module dstress.run.b.bug_cgcs_353_I3; + +union Foo{ +} + +int main(){ + Foo*[] foos; + + assert(foos.length==0); + + foos[] = foos[] ~ new Foo(); + + assert(foos.length==1); + + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_cgcs_353_J3.d Mon Aug 29 05:59:58 2005 +0000 @@ -0,0 +1,24 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ James Dunne <james.jdunne@gmail.com> +// @date@ 2005-08-28 +// @uri@ news:dethn0$1gn8$1@digitaldaemon.com + +module dstress.run.b.bug_cgcs_353_J3; + +union Foo{ +} + +int main(){ + Foo*[] foos; + + assert(foos.length==0); + + foos[] = new Foo() ~ foos[]; + + assert(foos.length==1); + + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_cgcs_353_K3.d Mon Aug 29 05:59:58 2005 +0000 @@ -0,0 +1,25 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ James Dunne <james.jdunne@gmail.com> +// @date@ 2005-08-28 +// @uri@ news:dethn0$1gn8$1@digitaldaemon.com + +module dstress.run.b.bug_cgcs_353_K3; + +enum Foo{ + DUMMY +} + +int main(){ + Foo*[] foos; + + assert(foos.length==0); + + foos[] = new Foo() ~ foos[]; + + assert(foos.length==1); + + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_cgcs_353_L3.d Mon Aug 29 05:59:58 2005 +0000 @@ -0,0 +1,25 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ James Dunne <james.jdunne@gmail.com> +// @date@ 2005-08-28 +// @uri@ news:dethn0$1gn8$1@digitaldaemon.com + +module dstress.run.b.bug_cgcs_353_L3; + +enum Foo{ + DUMMY +} + +int main(){ + Foo*[] foos; + + assert(foos.length==0); + + foos[] = foos[] ~ new Foo(); + + assert(foos.length==1); + + return 0; +} \ No newline at end of file