annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
568
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
1 // $HeadURL$
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
2 // $Date$
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
3 // $Author$
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
4
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
5 // @author@ Stewart Gordon <smjg_1998@yahoo.com>
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
6 // @date@ 2005-05-31
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
7 // @uri@ news:d7hfef$1dtf$4@digitaldaemon.com
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
8 // @desc@ Internal error: ../ztc/cod1.c 2503
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
9
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
10 module dstress.run.o.opSlice_01_J;
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
11
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
12 int main(){
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
13 float arr[4][2]=0;
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
14
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
15 arr[0][1]=1;
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
16
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
17 arr[1..2] = arr[0];
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
18
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
19 assert(!arr[0][0]);
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
20 assert(arr[0][1]);
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
21 assert(!arr[1][0]);
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
22 assert(arr[1][1]);
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
23 assert(!arr[2][0]);
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
24 assert(arr[2][1]);
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
25 assert(!arr[3][0]);
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
26 assert(!arr[3][1]);
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
27
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
28 return 0;
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
29 }
d762fe5e4b49 Internal error: ../ztc/cod1.c 2503
thomask
parents:
diff changeset
30