Mercurial > projects > dstress
view run/foreach_16.d @ 70:5f98d4a33d49
1) review of all test cases with unexpected results (except encoding and html/xml)
2) updated todo
author | thomask |
---|---|
date | Sat, 23 Oct 2004 22:47:47 +0000 |
parents | 1ed6616fe905 |
children | f87ba6507260 |
line wrap: on
line source
module dstress.run.foreach_16; int main(){ char[] string = x"F0 9D 83 93"; // utf-8 for U+1D0D3 int count=0; wchar tmp; foreach(wchar value ; string){ tmp=value; count++; } assert(count==1); assert(tmp==0x01D0D3); return 0; }