785
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ clayasaurus <clayasaurus@gmail.com>
|
|
6 // @date@ 2005-12-25
|
1489
|
7 // @uri@ news:http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5910
|
785
|
8
|
|
9 module dstress.run.a.array_initialization_21_A;
|
|
10
|
|
11 const int MAX_PARTICLES = 30000;
|
|
12
|
|
13 struct Particle{
|
|
14 float a;
|
|
15 }
|
|
16
|
|
17 Particle particles[MAX_PARTICLES];
|
|
18
|
|
19 int main(){
|
1086
|
20 if(particles.length != MAX_PARTICLES){
|
|
21 assert(0);
|
|
22 }
|
785
|
23 return 0;
|
|
24 }
|