Mercurial > projects > dstress
view run/f/foreach_35_D.d @ 1091:9dcac8d4e97f
post DMD-0.163 review
author | thomask |
---|---|
date | Fri, 21 Jul 2006 11:15:26 +0000 |
parents | 0cfa157e0782 |
children | 81222734adf3 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ <ericanderton@yahoo.com> // @date@ 2006-04-08 // @uri@ news:bug-95-3@http.d.puremagic.com/bugzilla/ module dstress.run.f.foreach_35_D; int main(){ int[int] array; array[2] = 3; array.remove(2); if(array.keys.length != 0){ assert(0); } foreach(int elem; array){ assert(0); } return 0; }