Mercurial > projects > dstress
diff run/w/wchar_11_H.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/w/wchar_11_H.d Sun Aug 19 19:11:54 2007 +0000 +++ b/run/w/wchar_11_H.d Sun Aug 19 19:15:01 2007 +0000 @@ -9,11 +9,11 @@ module dstress.run.c.wchar_11_H; int main(){ - const wchar[] string = "\uDBC4\uDD11"w; + const wchar[] x = "\uDBC4\uDD11"w; - static assert(string.length == 2); + static assert(x.length == 2); - static if(string[0] == 0xDBC4 && string[1] == 0xDD11){ + static if(x[0] == 0xDBC4 && x[1] == 0xDD11){ return 0; } }