view run/const_17.d @ 1612:1f76d5b2f458

Fix typo in testcase run/typeid_79
author Christian Kamm <kamm incasoftware de>
date Sun, 10 May 2009 11:55:53 +0200
parents e979fee5a2cd
children
line wrap: on
line source

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

module dstress.run.const_17;

const int c = b * 2;
const int a = 1;
const int b = a * 3;

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