Mercurial > projects > dstress
view run/w/wchar_11_F.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | 9a583bdb38a1 |
children | 36bedfa079e6 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Stewart Gordon <smjg_1998@yahoo.com> // @date@ 2005-12-12 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5835 module dstress.run.c.wchar_11_F; int main(){ const wchar[] string = "\uDBC4\uDD11"c; static assert(string.length == 2); static if(string[0] == 0xDBC4 && string[1] == 0xDD11){ return 0; } }