# HG changeset patch # User thomask # Date 1116346249 0 # Node ID 19e36f020f57e885fd425043492fb1faa3a10627 # Parent 4b941e2f6d4f8896735389c932fbad13370f7bc1 reserved size for bigarray in the data segment too small Michael Butscher 2005-05-15 news:MPG.1cf1a08e35a16a9b989684@news.digitalmars.com diff -r 4b941e2f6d4f -r 19e36f020f57 reporter.txt --- a/reporter.txt Tue May 17 15:26:54 2005 +0000 +++ b/reporter.txt Tue May 17 16:10:49 2005 +0000 @@ -40,6 +40,7 @@ Lars Ivar Igesund Lionello Lunesu Lukas Pinkowski +Michael Butscher Miguel Ferreira Simões Mike Swieton Mike Parker diff -r 4b941e2f6d4f -r 19e36f020f57 run/a/array_initialization_16.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/a/array_initialization_16.d Tue May 17 16:10:49 2005 +0000 @@ -0,0 +1,30 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Michael Butscher +// @date@ 2005-05-15 +// @uri@ news:MPG.1cf1a08e35a16a9b989684@news.digitalmars.com + +module dstress.run.a.array_initialization_16; + +static int bigarray[100][100]; + +int main(){ + assert(bigarray.length==100); + assert(bigarray[0].length==100); + + int counter=0; + + for(int i=0; i< 100; i++){ + for (int j=0; j<100; j++){ + bigarray[i][j]=counter; + assert(bigarray[i][j]==counter++); + } + } + + assert(counter==100*100); + + return 0; +} +