view run/o/opSlice_01_J.d @ 568:d762fe5e4b49

Internal error: ../ztc/cod1.c 2503 Stewart Gordon <smjg_1998@yahoo.com> 2005-05-31 news:d7hfef$1dtf$4@digitaldaemon.com
author thomask
date Mon, 06 Jun 2005 05:41:24 +0000
parents
children 7e8e5013a030
line wrap: on
line source

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

// @author@	Stewart Gordon <smjg_1998@yahoo.com>
// @date@	2005-05-31
// @uri@	news:d7hfef$1dtf$4@digitaldaemon.com
// @desc@	Internal error: ../ztc/cod1.c 2503

module dstress.run.o.opSlice_01_J;

int main(){
	float arr[4][2]=0;

	arr[0][1]=1;
	
	arr[1..2] = arr[0];
	
	assert(!arr[0][0]);
	assert(arr[0][1]);
	assert(!arr[1][0]);
	assert(arr[1][1]);
	assert(!arr[2][0]);
	assert(arr[2][1]);
	assert(!arr[3][0]);
	assert(!arr[3][1]);

	return 0;
}