Mercurial > projects > dstress
view compile/r/return_10_A.d @ 1535:20d8ee6523e1
updated to DMD-1.013
author | thomask |
---|---|
date | Mon, 07 May 2007 05:19:57 +0000 |
parents | daef239f37cf |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp> // @date@ 2006-10-20 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=444 // @desc@ [Issue 444] New: Inside a foreach with delegates, void return does not compile module dstress.compile.r.return_10_A; void foo(){ int nothing( int delegate(ref int) dg ){ return 0; } foreach(int x; ¬hing){ return; } }