Mercurial > projects > dstress
changeset 574:36e896c73c8a
undetected deprecated "delete"
David L. Davis <SpottedTiger@yahoo.com>
2005-06-08
news:d87vbn$2tnm$1@digitaldaemon.com
author | thomask |
---|---|
date | Fri, 10 Jun 2005 19:10:21 +0000 |
parents | 56951036e398 |
children | 893c2d75daf4 |
files | nocompile/d/delete_09_A.d nocompile/d/delete_09_B.d nocompile/d/delete_09_C.d nocompile/d/delete_09_D.d |
diffstat | 4 files changed, 68 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/d/delete_09_A.d Fri Jun 10 19:10:21 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ David L. Davis <SpottedTiger@yahoo.com> +// @date@ 2005-06-08 +// @uri@ news:d87vbn$2tnm$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 16 + +module dstress.nocompile.d.delete_09_A; + +alias char[] string; + +void test(string[int] arr, int key ){ + delete arr[ key ]; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/d/delete_09_B.d Fri Jun 10 19:10:21 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ David L. Davis <SpottedTiger@yahoo.com> +// @date@ 2005-06-08 +// @uri@ news:d87vbn$2tnm$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 16 + +module dstress.nocompile.d.delete_09_B; + +alias char string; + +void test(string[int] arr, int key ){ + delete arr[ key ]; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/d/delete_09_C.d Fri Jun 10 19:10:21 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ David L. Davis <SpottedTiger@yahoo.com> +// @date@ 2005-06-08 +// @uri@ news:d87vbn$2tnm$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 16 + +module dstress.nocompile.d.delete_09_C; + +typedef char[] string; + +void test(string[int] arr, int key ){ + delete arr[ key ]; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/d/delete_09_D.d Fri Jun 10 19:10:21 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ David L. Davis <SpottedTiger@yahoo.com> +// @date@ 2005-06-08 +// @uri@ news:d87vbn$2tnm$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 16 + +module dstress.nocompile.d.delete_09_D; + +typedef char string; + +void test(string[int] arr, int key ){ + delete arr[ key ]; +}