annotate run/slice_02.d @ 179:55a2c755d699

1) fixed html mime settings 2) spelling names ... Stewart Gordon <smjg_1998@yahoo.com> 200-12-06 news:cp1p8s$2kr6$1@digitaldaemon.com
author thomask
date Mon, 06 Dec 2004 16:39:00 +0000
parents de27ca625bf7
children f87ba6507260
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
179
55a2c755d699 1) fixed html mime settings
thomask
parents: 2
diff changeset
1 // @author@ Stewart Gordon <smjg_1998@yahoo.com>
2
de27ca625bf7 extended abstract/alias and template tests
thomask
parents:
diff changeset
2 // @date@ 2004-09-15
de27ca625bf7 extended abstract/alias and template tests
thomask
parents:
diff changeset
3
de27ca625bf7 extended abstract/alias and template tests
thomask
parents:
diff changeset
4 int main(){
de27ca625bf7 extended abstract/alias and template tests
thomask
parents:
diff changeset
5 char[] array = new char[4];
de27ca625bf7 extended abstract/alias and template tests
thomask
parents:
diff changeset
6
de27ca625bf7 extended abstract/alias and template tests
thomask
parents:
diff changeset
7 array[]='a';
de27ca625bf7 extended abstract/alias and template tests
thomask
parents:
diff changeset
8 assert(array[0]=='a');
de27ca625bf7 extended abstract/alias and template tests
thomask
parents:
diff changeset
9 assert(array[1]=='a');
de27ca625bf7 extended abstract/alias and template tests
thomask
parents:
diff changeset
10 assert(array[2]=='a');
de27ca625bf7 extended abstract/alias and template tests
thomask
parents:
diff changeset
11 assert(array[3]=='a');
de27ca625bf7 extended abstract/alias and template tests
thomask
parents:
diff changeset
12
de27ca625bf7 extended abstract/alias and template tests
thomask
parents:
diff changeset
13 return 0;
de27ca625bf7 extended abstract/alias and template tests
thomask
parents:
diff changeset
14 }