Mercurial > projects > dstress
view compile/f/foreach_30_B.d @ 1535:20d8ee6523e1
updated to DMD-1.013
author | thomask |
---|---|
date | Mon, 07 May 2007 05:19:57 +0000 |
parents | b8c0195059d9 |
children |
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_B; class Collection{ int opApply(int delegate(ref int) dg){ return 0; } } bool test(){ Collection a,b; foreach(int x; a){ foreach(int y; b){ goto label; } } return true; label: return false; }