diff run/d/dchar_10_D.d @ 1560:36bedfa079e6

D1 -> D2 : 2/N
author thomask
date Sun, 19 Aug 2007 19:15:01 +0000
parents b8c0195059d9
children
line wrap: on
line diff
--- a/run/d/dchar_10_D.d	Sun Aug 19 19:11:54 2007 +0000
+++ b/run/d/dchar_10_D.d	Sun Aug 19 19:15:01 2007 +0000
@@ -9,11 +9,11 @@
 module dstress.run.d.dchar_10_D;
 
 int main(){
-	dchar[] string = "\uDBC4\uDD11"w;
+	const dchar[] x = "\uDBC4\uDD11"w;
 
-	assert(string.length == 1);
+	assert(x.length == 1);
 
-	if(string[0] == 0x101111){
+	if(x[0] == 0x101111){
 		return 0;
 	}
 }