Mercurial > projects > dstress
view run/a/array_initialization_21_F.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | a8cf8aa0da50 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ clayasaurus <clayasaurus@gmail.com> // @date@ 2005-12-25 // @uri@ news:http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5910 module dstress.run.a.array_initialization_21_F; const int MAX_PARTICLES = 10000; struct Particle{ float a; float b; float c; float d; } Particle particles[MAX_PARTICLES]; int main(){ if(particles.length != MAX_PARTICLES){ assert(0); } return 0; }