view run/b/bug_d_codegen_1228_D.d @ 1586:a74f0139fc3d

Fix tests using typeof on types.
author Christian Kamm <kamm incasoftware de>
date Thu, 21 Aug 2008 15:42:21 +0200
parents 2f10fa84a21b
children
line wrap: on
line source

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

// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
// @uri@	news:23p273-9bq.ln1@birke.kuehne.cn

module dstress.run.b.bug_d_codegen_1228_D;

int find(){
	foreach(char c; "blah"c){
		return 0;
	}
}

int main(){
	if(find() == 0){
		return 0;
	}
}