Mercurial > projects > dstress
changeset 450:7ca759f6f428
array[-1]
author | thomask |
---|---|
date | Mon, 18 Apr 2005 20:35:31 +0000 |
parents | 42b64eef0aa2 |
children | b35781291678 |
files | nocompile/bounds_checking_04.d |
diffstat | 1 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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; +}