view nocompile/f/foreach_37_B.d @ 1163:c2a8690a9fca

[Issue 297] New: Shadowing declarations allowed in foreach type lists Deewiant <deewiant@gmail.com> 2006-09-20 news:bug-297-3@http.d.puremagic.com/issues/
author thomask
date Mon, 02 Oct 2006 08:03:15 +0000
parents
children daef239f37cf
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	Deewiant <deewiant@gmail.com>	
// @date@	2006-09-20
// @uri@	news:bug-297-3@http.d.puremagic.com/issues/
// @desc@	[Issue 297] New: Shadowing declarations allowed in foreach type lists

// __DSTRESS_ELINE__ 18

module dstress.nocompile.f.foreach_37_B;

void foo(){
	int[] x = new int[3];
	int e;

	foreach(i, e; x){
	}
}