view run/o/opXorAssign_01_J.d @ 1535:20d8ee6523e1

updated to DMD-1.013
author thomask
date Mon, 07 May 2007 05:19:57 +0000
parents b8c0195059d9
children
line wrap: on
line source

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

// @author@	Derek Parnell <derek@psych.ward>
// @date@	2005-06-20
// @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4363
// @desc@	Internal error: ../ztc/cgcs.c 213

module dstress.run.o.opXorAssign_01_J;

int main(){
	ulong[1] arr=8;
	assert(arr[0]==8);

	arr[0] ^= 1;
	assert(arr[0]==9);

	arr[0] ^= 1;
	assert(arr[0]==8);

	return 0;
}