Mercurial > projects > dstress
changeset 301:99646b466ecd
evaluated const
John Reimer <brk_6502@yahoo.com>
2005-02-20
news:pan.2005.02.20.14.41.58.234018@yahoo.com
nntp://news.digitalmars.com/digitalmars.D.bugs/3030
author | thomask |
---|---|
date | Sat, 12 Mar 2005 10:51:48 +0000 |
parents | c1c92aab770e |
children | 41de5acbb735 |
files | run/const_14.d |
diffstat | 1 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/const_14.d Sat Mar 12 10:51:48 2005 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ John Reimer <brk_6502@yahoo.com> +// @date@ 2005-02-20 +// @uri@ news:pan.2005.02.20.14.41.58.234018@yahoo.com +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/3030 + +module dstress.run.const_14; + +const int c = 50*50; + +const int b = 4*c; +int[4*c] array; + +int main(){ + assert(array.length==4*50*50); + return 0; +}