Mercurial > projects > dstress
comparison run/s/sort_16_C.d @ 1319:81222734adf3
sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:58:06 +0000 |
parents | 851d63db41cb |
children | daef239f37cf |
comparison
equal
deleted
inserted
replaced
1318:e9c13dbd0a8d | 1319:81222734adf3 |
---|---|
6 // @date@ 2006-10-02 | 6 // @date@ 2006-10-02 |
7 // @uri@ news:bug-391-3@http.d.puremagic.com/issues/ | 7 // @uri@ news:bug-391-3@http.d.puremagic.com/issues/ |
8 // @desc@ [Issue 391] New: .sort and .reverse break utf8 encoding | 8 // @desc@ [Issue 391] New: .sort and .reverse break utf8 encoding |
9 | 9 |
10 module dstress.run.s.sort_16_C; | 10 module dstress.run.s.sort_16_C; |
11 | |
12 import std.stdio; | |
13 | 11 |
14 int main(){ | 12 int main(){ |
15 char[] a = "a\U00000081b\U00002000c\U00010000"; | 13 char[] a = "a\U00000081b\U00002000c\U00010000"; |
16 | 14 |
17 if(a.sort != "abc\U00000081\U00002000\U00010000"){ | 15 if(a.sort != "abc\U00000081\U00002000\U00010000"){ |