diff run/o/opSlice_01_I.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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/o/opSlice_01_I.d	Mon Jun 06 05:41:24 2005 +0000
@@ -0,0 +1,30 @@
+// $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_I;
+
+int main(){
+	ulong arr[4][2];
+
+	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;
+}
+