view run/a/array_initialization_21_B.d @ 1086:7e8e5013a030

gdc-0.19 review
author thomask
date Tue, 18 Jul 2006 22:51:49 +0000
parents a8b52e8da8f5
children a8cf8aa0da50
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	clayasaurus <clayasaurus@gmail.com>
// @date@	2005-12-25
// @uri@	news:donatt$1acv$1@digitaldaemon.com>

module dstress.run.a.array_initialization_21_B;

const int MAX_PARTICLES = 30000;

struct Particle{
	float a;
	float b;
}

Particle particles[MAX_PARTICLES];

int main(){
	if(particles.length != MAX_PARTICLES){
		assert(0);
	}
	return 0;
}