Mercurial > projects > dstress
changeset 240:7aa29e681c0a
bulk offline update
author | thomask |
---|---|
date | Thu, 20 Jan 2005 19:39:40 +0000 |
parents | c2a96b326f61 |
children | 1268141c5b17 |
files | compile/struct_21.d compile/struct_22.d nocompile/bug_dsymbol_611_D.d nocompile/bug_mtype_507_A.d nocompile/bug_mtype_507_B.d run/cast_09.d run/cast_10.d run/cast_11.d run/cast_12.d run/cast_13.d run/cast_14.d run/cast_15.d run/cast_16.d run/cast_17.d run/cast_18.d run/finally_01.d |
diffstat | 16 files changed, 230 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/struct_21.d Thu Jan 20 19:39:40 2005 +0000 @@ -0,0 +1,14 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Stewart Gordon <smjg_1998@yahoo.com> +// @date@ 2005-01-12 +// @uri@ news:cs2u76$18jn$1@digitaldaemon.com +// @url@ nttp://news.digitalmars.com/digitalmars.D.bugs/2674 + +module dstress.compile.struct_21; + +struct MyStruct { + MyStruct* s; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/struct_22.d Thu Jan 20 19:39:40 2005 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Stewart Gordon <smjg_1998@yahoo.com> +// @date@ 2005-01-12 +// @uri@ news:cs2u76$18jn$1@digitaldaemon.com +// @url@ nttp://news.digitalmars.com/digitalmars.D.bugs/2674 + +module dstress.compile.struct_22; + +struct StructA { + StructB* b; +} + +struct StructB { + StructA* a; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/bug_dsymbol_611_D.d Thu Jan 20 19:39:40 2005 +0000 @@ -0,0 +1,21 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> +// @date@ 2005-01-19 + +module dstress.nocompile.bug_dsymbol_611_D; + +struct Struct{ + int x; +} + +int main(){ + Object o; + Struct s; + if(s==o){ + return -1; + } + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/bug_mtype_507_A.d Thu Jan 20 19:39:40 2005 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> + +module dstress.nocompile.bug_mtype_507_A; + +int main(){ + Object o; + int i; + if(i==o){ + return -1; + } + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/bug_mtype_507_B.d Thu Jan 20 19:39:40 2005 +0000 @@ -0,0 +1,21 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> +// @date@ 2005-01-19 + +module dstress.nocompile.bug_mtype_507_B; + +struct Struct{ + int x; +} + +int main(){ + int i; + Struct s; + if(s==i){ + return -1; + } + return 0; +}
--- a/run/cast_09.d Thu Jan 13 13:59:39 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// @author@ Jarrett Billingsley <kb3ctd2@yahoo.com> -// @date@ 2005-01-09 -// @uri@ news:crshla$2io3$1@digitaldaemon.com -// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2659 - -module dstress.run.cast_09; - -class Parent{ -} - -class Child{ -} - -int main(){ - Child c = new Child(); - cast(Parent) p=null; - return 0; -}
--- a/run/cast_10.d Thu Jan 13 13:59:39 2005 +0000 +++ b/run/cast_10.d Thu Jan 20 19:39:40 2005 +0000 @@ -12,7 +12,7 @@ class Parent{ } -class Child{ +class Child : Parent { } void test(inout Parent p){
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/cast_11.d Thu Jan 20 19:39:40 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Russ Lewis <spamhole-2001-07-16@deming-os.org> +// @date@ 2005-01-18 +// @uri@ news:csk4ef$2njc$1@digitaldaemon.com +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2719 + +module dstress.run.cast_11; + +int main(){ + double d = 1.0; + long l = cast(long) d; + assert( l == 1); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/cast_12.d Thu Jan 20 19:39:40 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Russ Lewis <spamhole-2001-07-16@deming-os.org> +// @date@ 2005-01-18 +// @uri@ news:csk4ef$2njc$1@digitaldaemon.com +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2719 + +module dstress.run.cast_12; + +int main(){ + double d = 1.0; + ulong l = cast(ulong) d; + assert( l == 1); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/cast_13.d Thu Jan 20 19:39:40 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Russ Lewis <spamhole-2001-07-16@deming-os.org> +// @date@ 2005-01-18 +// @uri@ news:csk4ef$2njc$1@digitaldaemon.com +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2719 + +module dstress.run.cast_13; + +int main(){ + float f = 1.0; + long l = cast(long) f; + assert( l == 1); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/cast_14.d Thu Jan 20 19:39:40 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Russ Lewis <spamhole-2001-07-16@deming-os.org> +// @date@ 2005-01-18 +// @uri@ news:csk4ef$2njc$1@digitaldaemon.com +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2719 + +module dstress.run.cast_14; + +int main(){ + float f = 1.0; + ulong l = cast(ulong) f; + assert( l == 1); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/cast_15.d Thu Jan 20 19:39:40 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Russ Lewis <spamhole-2001-07-16@deming-os.org> +// @date@ 2005-01-18 +// @uri@ news:csk4ef$2njc$1@digitaldaemon.com +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2719 + +module dstress.run.cast_15; + +int main(){ + real r = 1.0; + long l = cast(long) r; + assert( l == 1); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/cast_16.d Thu Jan 20 19:39:40 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Russ Lewis <spamhole-2001-07-16@deming-os.org> +// @date@ 2005-01-18 +// @uri@ news:csk4ef$2njc$1@digitaldaemon.com +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2719 + +module dstress.run.cast_16; + +int main(){ + real r = 1.0; + ulong l = cast(ulong) r; + assert( l == 1); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/cast_17.d Thu Jan 20 19:39:40 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Russ Lewis <spamhole-2001-07-16@deming-os.org> +// @date@ 2005-01-18 +// @uri@ news:csk4ef$2njc$1@digitaldaemon.com +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2719 + +module dstress.run.cast_17; + +int main(){ + real r = 1.0; + int i = cast(int) r; + assert(i == 1); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/cast_18.d Thu Jan 20 19:39:40 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Russ Lewis <spamhole-2001-07-16@deming-os.org> +// @date@ 2005-01-18 +// @uri@ news:csk4ef$2njc$1@digitaldaemon.com +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2719 + +module dstress.run.cast_18; + +int main(){ + real r = 1.0; + uint i = cast(uint) r; + assert(i == 1); + return 0; +}
--- a/run/finally_01.d Thu Jan 13 13:59:39 2005 +0000 +++ b/run/finally_01.d Thu Jan 20 19:39:40 2005 +0000 @@ -6,6 +6,9 @@ // @date 2004-11-16 // @uri@ news:cndnk4$17ld$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2283 + +module dstress.run.finally_01; + int main(){ int status=0; try{