Mercurial > projects > dstress
diff run/d/dchar_10_G.d @ 787:9a583bdb38a1
Stewart Gordon <smjg_1998@yahoo.com>
2005-12-12
news:dnjnqe$16sv$1@digitaldaemon.com
author | thomask |
---|---|
date | Sun, 01 Jan 2006 12:31:12 +0000 |
parents | |
children | b8c0195059d9 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/d/dchar_10_G.d Sun Jan 01 12:31:12 2006 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Stewart Gordon <smjg_1998@yahoo.com> +// @date@ 2005-12-12 +// @uri@ news:dnjnqe$16sv$1@digitaldaemon.com + +module dstress.run.d.dchar_10_G; + +int main(){ + const dchar[] string = "\uDBC4\uDD11"d; + + static assert(string.length == 1); + + static if(string[0] == 0x101111){ + return 0; + } +}