annotate run/c/char_07_A.d @ 1489:b8c0195059d9

changed nntp: URLs to http: URLs
author thomask
date Mon, 09 Apr 2007 13:47:01 +0000
parents f4e98d870b57
children 36bedfa079e6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
787
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
1 // $HeadURL$
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
2 // $Date$
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
3 // $Author$
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
4
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
5 // @author@ Stewart Gordon <smjg_1998@yahoo.com>
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
6 // @date@ 2005-12-12
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 1090
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5835
787
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
8
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
9 module dstress.run.c.char_07_A;
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
10
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
11 int main(){
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
12 char[] string = "\uDBC4\uDD11";
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
13
1090
f4e98d870b57 pre DMD-0.163 review
thomask
parents: 787
diff changeset
14 if(string.length != 4){
f4e98d870b57 pre DMD-0.163 review
thomask
parents: 787
diff changeset
15 assert(0);
f4e98d870b57 pre DMD-0.163 review
thomask
parents: 787
diff changeset
16 }
787
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
17
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
18 if(string[0] == 0xF0 && string[1] == 0x81 && string[2] == 0x84 && string[3] == 0x91){
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
19 return 0;
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
20 }
9a583bdb38a1 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
21 }