Mercurial > projects > dstress
annotate run/a/array_initialization_21_F.d @ 1322:a8cf8aa0da50
fixed malformed @uri@ entries
author | thomask |
---|---|
date | Sun, 31 Dec 2006 20:00:23 +0000 |
parents | 7e8e5013a030 |
children | b8c0195059d9 |
rev | line source |
---|---|
785 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ clayasaurus <clayasaurus@gmail.com> | |
6 // @date@ 2005-12-25 | |
1322 | 7 // @uri@ news:news:donatt$1acv$1@digitaldaemon.com |
785 | 8 |
9 module dstress.run.a.array_initialization_21_F; | |
10 | |
11 const int MAX_PARTICLES = 10000; | |
12 | |
13 struct Particle{ | |
14 float a; | |
15 float b; | |
16 float c; | |
17 float d; | |
18 } | |
19 | |
20 Particle particles[MAX_PARTICLES]; | |
21 | |
22 int main(){ | |
1086 | 23 if(particles.length != MAX_PARTICLES){ |
24 assert(0); | |
25 } | |
785 | 26 return 0; |
27 } |