Mercurial > projects > dstress
view run/const_14.d @ 1590:1d1f281a9b11
Move const_11 to compile. Addresses of globals are valid constants.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 25 Aug 2008 22:08:00 +0200 |
parents | d3a3e0c251d8 |
children |
line wrap: on
line source
// $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 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=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; }