view run/r/ref_01_A.d @ 1517:cf7719e0ef1b

updated to DMD-1.013
author thomask
date Fri, 27 Apr 2007 17:21:32 +0000
parents
children 01c289574a6d
line wrap: on
line source

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

module dstress.run.r.ref_01_A;

void test(ref int i){
	i++;
}

int main(){
	int i = 2;
	test(i);
	if(3 != i){
		assert(0);
	}

	return 0;
}