annotate nocompile/bounds_checking_01.d @ 1576:b3e16c86558e
[Issue 1398] New: GDC doesn't generate correct code
<mariusmuja@gmail.com>
2007-08-04
http://d.puremagic.com/issues/show_bug.cgi?id=1398
author |
thomask |
date |
Thu, 21 Feb 2008 15:20:08 +0000 |
parents |
7300d411e85c |
children |
|
rev |
line source |
338
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
1382
|
5 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1019
|
|
6 // @desc@ [Issue 1019] regression: Error: array index X is out of bounds [0 .. Y]
|
|
7
|
|
8 // __DSTRESS_ELINE__ 14
|
338
|
9
|
|
10 module dstress.nocompile.bounds_checking_01;
|
|
11
|
4
|
12 int main(){
|
|
13 byte[5] a;
|
|
14 a[100]=3;
|
|
15
|
|
16 return 0;
|
|
17 }
|