Mercurial > projects > dstress
view nocompile/bounds_checking_04.d @ 1608:a261c96f7d64
Remove nocompile/m/mixin_25_B, see #5.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 25 Apr 2009 09:16:37 +0200 |
parents | 7300d411e85c |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1019 // @desc@ [Issue 1019] regression: Error: array index X is out of bounds [0 .. Y] // __DSTRESS_ELINE__ 15 module dstress.nocompile.bounds_checking_04; int main(){ byte[5] a; const int i=-1; a[i]=3; return 0; }