view run/s/scope_16_A.d @ 1250:5f46d690a3aa

* updated results to 0.175 * removed old logs/results * log files are now bzip2'ed instead of gzip'ed (~ 40% smaller now)
author thomask
date Fri, 01 Dec 2006 08:21:45 +0000
parents
children 52c9e86b6486
line wrap: on
line source

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

module dstress.run.s.scope_16_A;

int main(){
	scope x = 1.2;
	static assert(is(typeof(x) == double));
	
	x++;
	if(x != 2.2){
		assert(0);
	}
	return 0;
}