diff nocompile/foreach_21.d @ 1560:36bedfa079e6

D1 -> D2 : 2/N
author thomask
date Sun, 19 Aug 2007 19:15:01 +0000
parents e38919011244
children
line wrap: on
line diff
--- a/nocompile/foreach_21.d	Sun Aug 19 19:11:54 2007 +0000
+++ b/nocompile/foreach_21.d	Sun Aug 19 19:15:01 2007 +0000
@@ -7,8 +7,8 @@
 module dstress.nocompile.foreach_21;
 
 int main(){
-	char[] string;
-	foreach(int c, char c; string){
+	string x;
+	foreach(int c, char c; x){
 	}
 	return 0;
 }