view run/opPreInc_10.d @ 452:8c1ae5dd51b0

fixed test cases(names)
author thomask
date Tue, 19 Apr 2005 11:40:22 +0000
parents b35781291678
children b8c0195059d9
line wrap: on
line source

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

// @author@	Stewart Gordon <smjg_1998@yahoo.com>
// @date@	2005-04-18
// @uri@	news:d402bj$nc0$6@digitaldaemon.com

module dstress.run.opPreInc_10;

void dummy(...){
}

int main() {
	double x = 9;
	dummy(x);
	double y=++x;
	assert(y==10);
	assert(x==10);
	return 0;
}