annotate run/unicode_05.d @ 250:d2728b26695a
unicode identifiers
Anders F Bj?rklund <afb@algonet.se>
2005-01-25
news:ct428n$2qoe$1@digitaldaemon.com
nntp://news.digitalmars.com/D.gnu/983
author |
thomask |
date |
Tue, 25 Jan 2005 20:04:05 +0000 |
parents |
|
children |
52c9e86b6486 |
rev |
line source |
250
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ Anders F Björklund <afb@algonet.se>
|
|
6 // @date@ 2005-01-25
|
|
7 // @uri@ news:ct428n$2qoe$1@digitaldaemon.com
|
|
8 // @url@ nntp://news.digitalmars.com/D.gnu/983
|
|
9
|
|
10 module dstress.run.unicode_05;
|
|
11
|
|
12 class 国{
|
|
13 int 人;
|
|
14 }
|
|
15
|
|
16 int main(){
|
|
17 国 日本 = new 国();
|
|
18 assert(日本.人==0);
|
|
19 日本.人++;
|
|
20 assert(日本.人==1);
|
|
21 return 0;
|
|
22 }
|