Mercurial > projects > dstress
changeset 446:58425c356fce
big array index
zwang <nehzgnaw@gmail.com>
2005-04-17
news:d3sqb9$10fq$1@digitaldaemon.com
author | thomask |
---|---|
date | Mon, 18 Apr 2005 07:32:46 +0000 |
parents | c0dd17f9030b |
children | 3522652ca5f0 |
files | nocompile/array_initialization_09.d nocompile/array_initialization_11.d nocompile/array_initialization_12.d nocompile/array_initialization_13.d nocompile/array_initialization_14.d run/array_initialization_09.d |
diffstat | 6 files changed, 85 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/array_initialization_09.d Mon Apr 18 07:32:46 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ zwang <nehzgnaw@gmail.com> +// @date@ 2005-04-17 +// @uri@ news:d3sq2j$1086$1@digitaldaemon.com + +// __DSTESS_ELINE__ 14 + +module dstress.nocompile.array_initialization_09; + +int main(){ + char a[int.max/32]; + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/array_initialization_11.d Mon Apr 18 07:32:46 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ zwang <nehzgnaw@gmail.com> +// @date@ 2005-04-17 +// @uri@ news:d3sq2j$1086$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.array_initialization_11; + +int main(){ + char a[int.max/32]= [0]; + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/array_initialization_12.d Mon Apr 18 07:32:46 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ zwang <nehzgnaw@gmail.com> +// @date@ 2005-04-17 +// @news@ news:d3sqb9$10fq$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.array_initialization_12; + +int main(){ + static char a[1] = [int.max:0]; + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/array_initialization_13.d Mon Apr 18 07:32:46 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ zwang <nehzgnaw@gmail.com> +// @date@ 2005-04-17 +// @news@ news:d3sqb9$10fq$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.array_initialization_13; + +int main(){ + char a[1] = [int.max:0,1]; + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/array_initialization_14.d Mon Apr 18 07:32:46 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ zwang <nehzgnaw@gmail.com> +// @date@ 2005-04-17 +// @news@ news:d3sqb9$10fq$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.array_initialization_14; + +int main(){ + static char a[1] = [int.max:0,1]; + return 0; +} +
--- a/run/array_initialization_09.d Mon Apr 18 07:21:15 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// @author@ zwang <nehzgnaw@gmail.com> -// @date@ 2005-04-17 -// @uri@ news:d3sq2j$1086$1@digitaldaemon.com - - -module dstress.run.array_initialization_09; - -int main(){ - char a[int.max/32]; - return 0; -} -