Mercurial > projects > dstress
view compile/f/foreach_30_A.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | c8f0ffd00273 |
children | 20d8ee6523e1 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ pragma <pragma_member@pathlink.com> // @date@ 2005-05-12 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3961 module dstress.compile.f.foreach_30_A; class Collection{ int opApply(int delegate(inout int) dg){ return 0; } } bool test(){ Collection a,b; foreach(int x; a){ foreach(int y; b){ return false; } } return true; }