Mercurial > projects > dstress
view run/length_05.d @ 1533:ac560364010c
enforce checks for -release builds
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:36:34 +0000 |
parents | 472d7e8b2274 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.length_05; int main(){ int[] array; array.length=3; array[0]=0; array[1]=2; array[2]=0; assert(array[$-2]==2); return 0; }