annotate nocompile/bounds_checking_01.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 7300d411e85c
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: 4
diff changeset
1 // $HeadURL$
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 4
diff changeset
2 // $Date$
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 4
diff changeset
3 // $Author$
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 4
diff changeset
4
1382
7300d411e85c added bugzilla uri
thomask
parents: 338
diff changeset
5 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1019
7300d411e85c added bugzilla uri
thomask
parents: 338
diff changeset
6 // @desc@ [Issue 1019] regression: Error: array index X is out of bounds [0 .. Y]
7300d411e85c added bugzilla uri
thomask
parents: 338
diff changeset
7
7300d411e85c added bugzilla uri
thomask
parents: 338
diff changeset
8 // __DSTRESS_ELINE__ 14
338
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 4
diff changeset
9
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 4
diff changeset
10 module dstress.nocompile.bounds_checking_01;
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 4
diff changeset
11
4
1ed6616fe905 extended array tests
thomask
parents:
diff changeset
12 int main(){
1ed6616fe905 extended array tests
thomask
parents:
diff changeset
13 byte[5] a;
1ed6616fe905 extended array tests
thomask
parents:
diff changeset
14 a[100]=3;
1ed6616fe905 extended array tests
thomask
parents:
diff changeset
15
1ed6616fe905 extended array tests
thomask
parents:
diff changeset
16 return 0;
1ed6616fe905 extended array tests
thomask
parents:
diff changeset
17 }