Mercurial > projects > dstress
diff run/escape_unicode16_01.d @ 1560:36bedfa079e6
D1 -> D2 : 2/N
author | thomask |
---|---|
date | Sun, 19 Aug 2007 19:15:01 +0000 |
parents | f87ba6507260 |
children |
line wrap: on
line diff
--- a/run/escape_unicode16_01.d Sun Aug 19 19:11:54 2007 +0000 +++ b/run/escape_unicode16_01.d Sun Aug 19 19:15:01 2007 +0000 @@ -5,9 +5,9 @@ module dstress.run.escape_unicode16_01; int main(){ - wchar[] string="\u02AF1"; - assert(string.length==2); - assert(string[0]==0x2AF); - assert(string[1]=='1'); + wstring x="\u02AF1"; + assert(x.length==2); + assert(x[0]==0x2AF); + assert(x[1]=='1'); return 0; }