Mercurial > projects > dstress
view run/f/foreach_35_D.d @ 956:0cfa157e0782
<ericanderton@yahoo.com>
2006-04-08
news:bug-95-3@http.d.puremagic.com/bugzilla/
author | thomask |
---|---|
date | Sun, 09 Apr 2006 19:51:17 +0000 |
parents | |
children | 9dcac8d4e97f |
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; }