annotate nocompile/associative_array_05.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +0200
parents 52c9e86b6486
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
338
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 205
diff changeset
1 // $HeadURL$
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 205
diff changeset
2 // $Date$
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 205
diff changeset
3 // $Author$
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 205
diff changeset
4
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 205
diff changeset
5 // @author@ Anders F Bj�klund <afb@algonet.se>
205
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
6 // @date@ 2004-12-19
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
7 // @uri@ news://cq2h5u$2n99$1@digitaldaemon.com
1383
52c9e86b6486 @url@ -> @uri@
thomask
parents: 338
diff changeset
8 // @uri@ nntp://digitalmars.com/digitalmars.D/13868
205
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
9
338
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 205
diff changeset
10 // __DSTRESS_ELINE__ 19
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 205
diff changeset
11
205
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
12 module dstress.nocompile.associative_array_05;
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
13
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
14 int main(){
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
15 int[char[]] array;
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
16 assert(array.length==0);
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
17 array["eins"]=1;
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
18 assert(array.length==1);
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
19 array["zwei"];
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
20 assert(array.length==1);
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
21 return 0;
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
22 }
e3c5b1e6f4a3 Tyro <ridimz_at@yahoo.dot.com>
thomask
parents:
diff changeset
23