view run/const_05.d @ 1330:f3f715978184

Georg Wrede <georg@iki.fi> 2007-01-07 mail:45A120F5.1050108@iki.fi
author thomask
date Sat, 13 Jan 2007 10:33:49 +0000
parents ce33adb482a7
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $URL$

module dstress.run.const_05;

const int c = b + 1;
const int a = 1;
const int b = a + 1;

int main(){
	assert(a==1);
	assert(b==2);
	assert(c==3);
	return 0;
}