diff nocompile/foreach_17.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_17.d	Sun Aug 19 19:11:54 2007 +0000
+++ b/nocompile/foreach_17.d	Sun Aug 19 19:15:01 2007 +0000
@@ -9,8 +9,8 @@
 module dstress.nocompile.foreach_17;
 
 int main(){
-	char[] string;
-	foreach(in char c; string){	
+	string x = "ab";
+	foreach(in char c; x){
 	}
 	return 0;
 }