# HG changeset patch # User thomask # Date 1113856531 0 # Node ID 7ca759f6f4280640b8198a8553515ea1f00f9f4c # Parent 42b64eef0aa27299c34ba4e149001db42b11c0a6 array[-1] diff -r 42b64eef0aa2 -r 7ca759f6f428 nocompile/bounds_checking_04.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/bounds_checking_04.d Mon Apr 18 20:35:31 2005 +0000 @@ -0,0 +1,15 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 12 + +module dstress.nocompile.bounds_checking_04; + +int main(){ + byte[5] a; + const int i=-1; + a[i]=3; + + return 0; +}