568
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ Stewart Gordon <smjg_1998@yahoo.com>
|
|
6 // @date@ 2005-05-31
|
1489
|
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4185
|
568
|
8 // @desc@ Internal error: ../ztc/cod1.c 2503
|
|
9
|
|
10 module dstress.run.o.opSlice_01_M;
|
|
11
|
|
12 int main(){
|
|
13 ifloat arr[4][2]=0i;
|
|
14
|
|
15 arr[0][1]=1i;
|
1091
|
16
|
1086
|
17 arr[1..3] = arr[0];
|
1091
|
18
|
1086
|
19 if(arr[0][0]){
|
|
20 assert(0);
|
|
21 }
|
|
22 if(!arr[0][1]){
|
|
23 assert(0);
|
|
24 }
|
|
25 if(arr[1][0]){
|
|
26 assert(0);
|
|
27 }
|
|
28 if(!arr[1][1]){
|
|
29 assert(0);
|
|
30 }
|
|
31 if(arr[2][0]){
|
|
32 assert(0);
|
|
33 }
|
|
34 if(!arr[2][1]){
|
|
35 assert(0);
|
|
36 }
|
|
37 if(arr[3][0]){
|
|
38 assert(0);
|
|
39 }
|
|
40 if(arr[3][1]){
|
|
41 assert(0);
|
|
42 }
|
568
|
43
|
|
44 return 0;
|
|
45 }
|
|
46
|