view run/sizeof_11.d @ 228:a3cb1d622f37

updated sizeof tests
author thomask
date Mon, 03 Jan 2005 18:00:19 +0000
parents
children
line wrap: on
line source

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

module dstress.run.sizeof_11;

int main(){
	size_t sizeof;
	sizeof++;
	assert(sizeof==1);
	sizeof-=9;
	assert(sizeof==-8);
	return 0;
}